Welcome Guest, Not a member yet? Register   Sign In
Community Auth - User Levels
#5

(This post was last modified: 08-31-2016, 09:54 AM by easymusic.)

I thought as much, I thought perhaps a method such as require_min_role would allow access to anyone with that level and above.

I understand how to use the require_min_level as it redirects back to the home method if you do not have access, my issue is with verify_min_level, if the verification fails, (user level not high enough), I just get a blank white page! Is there provision to show an error message instead?
If not can I do it by editing the authentication method itself so I don't have to add it to every single controller.
Reply


Messages In This Thread
Community Auth - User Levels - by easymusic - 08-24-2016, 02:05 AM
RE: Community Auth - User Levels - by skunkbad - 08-24-2016, 06:18 PM
RE: Community Auth - User Levels - by easymusic - 08-31-2016, 03:36 AM
RE: Community Auth - User Levels - by skunkbad - 08-31-2016, 06:53 AM
RE: Community Auth - User Levels - by easymusic - 08-31-2016, 09:53 AM
RE: Community Auth - User Levels - by skunkbad - 08-31-2016, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB