efficient-indigoE
Refine2y ago
17 replies
efficient-indigo

custom page as a resource

Hello guys, first of all, thx for such a great project!
I have a custom page for changing password, and I would like to navigate users to it through users/edit.tsx page, but there is a problem. I have written this page as clone, because in resources there is limitation and in any other way casbin librarary's accessControl won't allow me to put anything else than (list)|(show)|(edit)|(create).
How can I define this page as a separate resource or at least how to give specific user roles access to it through casbin without writing clone which is not definitely what this page stands for.
Thanks in advance.
Was this page helpful?