Ensure that verbs cannot be performed on disabled namespaces or by disabled users
This commit is contained in:
parent
db7e5f7cfa
commit
892cc82b6a
4 changed files with 47 additions and 0 deletions
|
@ -152,3 +152,8 @@ class VerbsDataInterface(object):
|
|||
or None if none.
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def is_namespace_enabled(self, namespace_name):
|
||||
""" Returns whether the given namespace exists and is enabled. """
|
||||
pass
|
||||
|
|
Reference in a new issue