Page 1 of 1

Route Permissions

PostPosted: Thu Feb 11, 2021 9:25 am
by SBarnes
If you want to disable all routes except the specific routes do you need to set the default rout permission to undefined or denied?

Re: Route Permissions

PostPosted: Thu Feb 11, 2021 12:32 pm
by Mike.Sheen
SBarnes wrote:If you want to disable all routes except the specific routes do you need to set the default rout permission to undefined or denied?


Setting the default permission to denied will do it.

Setting to undefined will only do it if no other permission has set it to allow - that's any permission against any route in any group they are a member of, or the default permission of any other group they are a member of.

Re: Route Permissions

PostPosted: Thu Feb 11, 2021 12:47 pm
by SBarnes
Thanks,

Actually I discovered if you set the default to denied and then set specific ones to allow, the specifics get denied as well, you have to set the default to undefined and the specifics to allow to get them and only them to work is that correct?

Re: Route Permissions  Topic is solved

PostPosted: Thu Feb 11, 2021 12:52 pm
by Mike.Sheen
SBarnes wrote:Thanks,

Actually I discovered if you set the default to denied and then set specific ones to allow, the specifics get denied as well, you have to set the default to undefined and the specifics to allow to get them and only them to work is that correct?


Yes - deny means deny, regardless of any other permission set.

Undefined means not allowed unless something else explicitly allows it.