Merge "Checks if the right user has a restriction" into lmp-dev