Hi Mine is a sass model application. Various companies can register. Each company has there own admin and ordinary staff and respective actions etc. I have implemented this with proper privileges,permissions. This is the way till I could manage. My new requirement is a super admin (he can do functionality to any companies. For an example, manually activate account company1's admin user) My question is what approach should I take to implement this? 1) Implement all functionalities of this super admin to a super admin name space. If I follow this approach will there be a lot of code duplication?
2) Treat this super admin as another system user (For example my existing user types are company_admin, staff) and give him privilege and permissions to the required actions.
This two ways come into my mind. Is there any other approaches? Please give me some insights on this
Thanks