diff --git a/tailbone/views/roles.py b/tailbone/views/roles.py index 48ef827c..adac7fb5 100644 --- a/tailbone/views/roles.py +++ b/tailbone/views/roles.py @@ -271,7 +271,7 @@ class RolesView(PrincipalMasterView): .options(orm.joinedload(model.Role._permissions)) roles = [] for role in all_roles: - if has_permission(session, role, permission): + if has_permission(session, role, permission, include_guest=False): roles.append(role) return roles