code: def permissions(self):
          
          permissions = []
          for permission, value in self.data.items():
              if permission not in self._reserved:
                  permissions.append({permission: value})
          return permissions
docs: Return valid permissions and setting for this role. Permissions are
          returned as a list of dict items, {permission: state}. State for the
          permission is either True or False. Use :meth:`~enable` and
          :meth:`~disable` to toggle role settings.
          
          :return: list of permission settings
          :rtype: list(dict)