code: def role_admin():
      
      identity = g.identity
      actions = {}
      for action in access.actions.values():
          actions[action.value] = DynamicPermission(action).allows(identity)
  
      message = 'You are opening a page requiring the "admin-access" permission'
      return render_template("invenio_access/limited.html",
                             message=message,
                             actions=actions,
                             identity=identity)
docs: View only allowed to admin role.