You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to be repeating myself defining table permissions over and over again. I'd be nice to make it somewhat reusable.
Describe the solution
DEFINE PERMISSIONS
FOR select-- roleData is the mapping between the role and the data.WHERE id IN $roleData
FOR create, updateWHERE id IN $roleData
FOR deleteWHERE id IN $roleData
ON table1, table2, table3;
Is your feature request related to a problem?
I seem to be repeating myself defining table permissions over and over again. I'd be nice to make it somewhat reusable.
Describe the solution
Alternative methods
Have Variable holding permissions.
SurrealDB version
surreal 1.3.1 for macos aarch64
Contact Details
marinbivol10@gmail.com
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: