slatex / sTeX-React

GNU Affero General Public License v3.0
2 stars 2 forks source link

add Access Control List tables and members #309

Closed behroozbc closed 1 month ago

behroozbc commented 1 month ago

I add Access Control List(ACL) mysql tables. I am not sure about tables' name and I make some REST APIs to test it. I set the id of ACL and ACL members to auto Increment int.

GET /api/access-control/ a list of all ACLs.
POST /api/access-control Create new ACL.
GET /api/access-control/[aclid] Get the ACL and its members.
POST /api/access-control/[aclid] Add new member to a acl.