11-01-2016, 12:58 AM
Right. That makes absolute sense. My original answer actually just answered your question in a more literal sense. (anyone with a lower number). Your solution is the better way to go. Your way also accounts for if you start forking things to where one type of manager may not have access to certain pages below them. So I'm writing an app that has
Kitchen Employee
Kitchen Manager
Hotel Employee
Hotel Manager
Maintenance Employee
Maintenance Manager
The way you're doing it would work without caring if the maintenance employee permission level id happens to be higher than the kitchen manager's permission id.
I think you're on the right track.
Kitchen Employee
Kitchen Manager
Hotel Employee
Hotel Manager
Maintenance Employee
Maintenance Manager
The way you're doing it would work without caring if the maintenance employee permission level id happens to be higher than the kitchen manager's permission id.
I think you're on the right track.