In the last year we have been thinking about streamlining the admin usermanagment.
Now you have basically 3 groups of admin-users Admin/Organizers, POS-users and Tickettakers. The Admin/Organizers are doing now exactly the same; tw. the management of the administrator section. In the new concept this will be split into The Supervisors (= the old Administrator) and Event Managers (= the old Organizers). The name Organizer is very confusing for the team members and we decided to change it into Event Managers.
The new management system will be extended in 2 way's:
- There will be a global admingroup defined where you can couple the above admin-users to the venues, events and eventgroups.
- Each user will have a pre defined ACL level. Defined that can be extended in future versions.
This new extensions need to be done within our new plugin system. This give use the option to extend the system without modifying FT to much.
The preparation work.
We need to move the different admin-users to one table view. And add an extra tab for the new admingroups. An other issue is the POS-users and Sale point addresses, The need to have one SalePoint with multiple POS-users is multiple times requested in the past. With this new concept of the admingroups you can now setup this too. The current POS tab can then modified to be used only for the Sale point address.
This new admingroup will manager the access for the admin-users to the events and venues. Every venue, event, eventgroup, Sale Point, admins can belong to 1 or more admingroups through a second link table. The link table has for every table from above an keyfield defined where always 2 of the fields filed; the admingroup_id and one of the keyfields from above tables.
The admin model class will be the key class to manage the access control, to give a list of accessible records. This can be used in a query like:
query = “select * from event where event_id in [”.$user→getAccessList('event_id').”]”;
Per edit screen of above tables the event manager can select one of his admingroups he belongs to or great a new group where he only has control over. The Super Admin can setup then extend the group with other users etc.
In the above picture you find an overview from all tables that will be effected with this change. In the middle you see the new admingrouplink table and around it you see the other