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.
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: