def local_manager_consider_for_user(self):
        """Flag whether local manager ACL should be considered for current
        authenticated user.
        """
        if not self.local_management_enabled:
            return False
        request = get_current_request()
        if authenticated_userid(request) == security.ADMIN_USER:
            return False
        roles = security.authenticated_user(request).roles
        if 'admin' in roles or 'manager' in roles:
            return False
        return True
def local_manager_consider_for_user ( self ) : if not self . local_management_enabled : return False request = get_current_request ( ) if authenticated_userid ( request ) == security . ADMIN_USER : return False roles = security . authenticated_user ( request ) . roles if 'admin' in roles or 'manager' in roles : return False return True
Flag whether local manager ACL should be considered for current
        authenticated user.