t3hk0d3/PermissionsEx — Issue #278: [Suggestion] Promotion within the same Ranking ladders
Author: yuhhaur
Created: 2012-02-22 09:12:41+00:00
State: open

Hi,

Would it be possible to add a promotion method in such a way that restricted promotion can be done in a ranking ladder?
1. Higher position within the ranking ladder can promote anyone within the same ladder to -1 of its position.
Example: CityA-Major can promote a user from CityA-Captain to CityA-Sheriff, but not up until CityA-Major
2. Higher position can demote user out of the ladder
Example: CityA-Major can demote a user from CityA-Captain to CityA-Sheriff and to Gen-Citizen, but not Gen-Access
3. Different ranking ladder can't promote/demote
Example: CityA-Major cannot promote a user from CityB-Captain to CityA-Captain or CityB-Captain to CityA-Sheriff

Sample for reference:
groups:
CityA-Major:
options:
rank: '100'
rank-ladder: CityA
CityB-Major:
options:
rank: '100'
rank-ladder: CityB
CityA-Sheriff:
options:
rank: '200'
rank-ladder: CityA
CityB-Sheriff:
options:
rank: '200'
rank-ladder: CityB
CityA-Captain:
options:
rank: '300'
rank-ladder: CityA
CityB-Captain:
options:
rank: '300'
rank-ladder: CityB
Gen-Citizen:
options:
rank: '500'
Gen-Access:
options:
rank: '600'

Thank you.