ClanAODDev / Division-Tracker

AOD Division Tracking Tool
0 stars 0 forks source link

bf4_position needs to be reworked #27

Open gofish543 opened 9 years ago

gofish543 commented 9 years ago

Presently it does not scale. The way permissions are working, a user should not be able to give someone a position higher than what they currently are. But the way the table is set, 1 is the highest, and 7 is the lowest. We should reverse this, move squad member to the bottom, and update the member table appropriately. Some functions that use this table will also need to be revised.

Table should look something like this:

id description
1 squad member
2 general population
3 squad leader
4 platoon leader
5 executive officer
6 commanding officer
7 general sergeant
8 administrator
gofish543 commented 9 years ago

https://github.com/flashadvocate/AOD_RCT/blob/master/application/lib.php#L1527-L1545