Closed AbegaM closed 6 months ago
updateSuperuser
updateRow
create
update
roles_permissoins
0/1
read
delete
@thevahidal I saw a request to add a new API to see a users permission but we can use this endpoint to get permissions
/api/tables/_roles_permissions/rows?role_id
173
Modifications
updateSuperuser
functionupdateRow
controller function to avoid errors that can be created by using reserved words likecreate
andupdate
in the SQL queryroles_permissoins
endpoint to only accept0/1
values for thecreate
,read
,update
anddelete
fieldsNote
@thevahidal I saw a request to add a new API to see a users permission but we can use this endpoint to get permissions
/api/tables/_roles_permissions/rows?role_id