Welcome Guest, Not a member yet? Register   Sign In
Using shield, How i can redirect to separate url if the user not in admin group
#6

(08-15-2023, 11:26 PM)datamweb Wrote: We have the following solution to transfer the user if he belongs to a certain group or permission, after login. But I think that is not what you mean.

https://codeigniter4.github.io/shield/cu...n-redirect

What I understand is that you want the following feature to be added to the shield.
https://github.com/codeigniter4/shield/p...1375755217

(08-16-2023, 01:30 AM)datamweb Wrote:
(08-16-2023, 12:08 AM)sknair143 Wrote: I tried afterPermissionDenied but that does not work

This feature has not been added to the shield yet, as we have not had a request.


How i can do this another way i just usingĀ  filter=>"group:admin" inb routes
Reply


Messages In This Thread
RE: Using shield, How i can redirect to separate url if the user not in admin group - by sknair143 - 08-16-2023, 01:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB