Skip to content

Replace possiblePermissions array in frontend/components/Permissions.js with 'POSSIBLE_PERMISSIONS_QUERY' #4

@jaridnft

Description

@jaridnft

This would allow someone to ping the API to learn what kind of permissions are available from the backend. Currently, it is an array defined in ./backend/datamodel.graphql:

enum Permission {
  ADMIN
  USER
  ITEMCREATE
  ITEMUPDATE
  ITEMDELETE
  PERMISSIONUPDATE
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions