OrganizationUserType - add a way to determine if a user can be removed
Background
The frontend needs a way to know if a user can be removed.
Requirements
- Expose an ability on the
userPermissions
field. Something likeremoveUser
- We also need a way in the UI to show that an owner would normally be able to leave the organization but they cannot because they are the last owner. One way we could do this is add an
isLastOwner
field toTypes::Organizations::OrganizationUserType
- Expose
accessLevel
field that usesapp/graphql/types/access_level_type.rb
Implementation plan
Needs refinement
Edited by Peter Hegman