First you need to find out what functionality you want to cover with your permission system, and in what detail:
Access to tables (list, CRUD)
Functions / Modules
Record Level Access (= ACL)
Positive (grant) or negative (recall) semantics
What is the admin role that you are allowed to do
, , , / -/-///, .
, /.
SQL.
, (, "public", "private", "" CMS) .
, NTFS, , , , , .
+ /, , .