I mean is there a better way than something like: if not auth.has_membership('admin'): session.flash = 'You are not part of the admin group' redirect(URL(r=request, c='default', f='index'))
--
I mean is there a better way than something like: if not auth.has_membership('admin'): session.flash = 'You are not part of the admin group' redirect(URL(r=request, c='default', f='index'))
--