code: def add(cls, code_name, name='', description=''):
          
          if code_name not in cls.registry:
              cls.registry[code_name] = (code_name, name or code_name, description)
          return code_name
docs: create a custom permission