I'm making a small record application for school work that has a login system with different user types. Each user type will have have different permissions on the app. Is there anything wrong with me having an int field in the User class that varies depending on permissions? E.g. 0 would have all access, 1 slightly less, etc.
Is there anything wrong with approaching the task like this instead of extending the default User class to other types of User?