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
feat(provider): add ability to override metadata permissions (#96)
* feat(provider): add ability to override metadata permissions
add ability to override metadata permissions with the permission object passed by the user.
GH-95
* feat(provider): add ability to override user permissions
add ability to provide user permissions
GH-95
* docs(provider): add description to overrride the permissions in readme file
add description to overrride the permissions in readme file
GH-95
- To Override the permissions provided in enum `permissionKey` file:
271
+
272
+
If the userPermission object is provided,it overrides the default permissions in the authorizationMetadata object.
273
+
274
+
For providing a userPermission object with custom permissions for specific controller methods, you can bind the following in `application.ts` file in your application.
Authorization configuration binding sets up paths that can be accessed without any authorization checks, allowing static files to be served directly from the root URL of the application.The allowAlwaysPaths property is used to define these paths for the files in public directory i.e for a test.html file in public directory ,one can provide its path as follows:
0 commit comments