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
Hello there.
I cant help myself, I added another Route :'D
This Routes gets all PermissionHolders with a specific Permission and Value (optional)
The Routes are:
/<Type>/has/{perm}
/<Type>/has/{perm}/{value}
What did I do:
First, I added the two Methods to the PermissionHolderController:
// GET /<type>/has/{permission}voidgetHasPermSingle(Contextctx) throwsException;
// GET <type>/has/{permission}/{value}voidgetHasPermValue(Contextctx) throwsException;
Here are my Implementations of the Methods UserController
Hello there.
I cant help myself, I added another Route :'D
This Routes gets all PermissionHolders with a specific Permission and Value (optional)
The Routes are:
What did I do:
First, I added the two Methods to the PermissionHolderController:
Here are my Implementations of the Methods
UserController
GroupController
Finally I added the Routes in the RestServer Class:
This would be a cool Feature for the official API too and im open for questions or optimizations :)
The text was updated successfully, but these errors were encountered: