How to design database having one superadmin with multiple dept's, each dept has its own admin but only superadmin has the right whom to make asmin and what permissions to be assigned to that admin like view edit or add new users in a dept.
I want the schema design for the same using Postgresql as database and django rest framework as backend.
Please comment if anyone knows anything regarding this.