Blockstream Enterprise
RecipesRoles rules

Detailed Role Permissions

Super Admin

Identifier: super-admin

Full unrestricted access to all resources and actions in the system.

Super Admin Full Access resource: *action: *
PermissionDescriptionRules
p1View Everything & Edit everythingresource: *, action: *

Capabilities:

  • Create, edit, and delete any resource
  • Approve any proposal
  • Manage all users, wallets, policies, and settings
  • Access all workspace and wallet operations

Workspace Owner

Identifier: workspace-owner

Owner-level workspace access with approval rights for workspace-level changes.

PermissionDescriptionRules
p1View workspace resources/users list, get
/signers list, get
/wallets list, get
/policies list, get
/roles list, get
/rules list, get
/groups list, get
/recipients list, get
/recipient-groups list, get
p2Approve workspace proposals/proposals approve (with filter: proposal.resource IN ['/users', '/signers', '/roles', '/policies', '/wallets', '/groups', '/recipients', '/recipient-groups', '/assets'])

Capabilities:

  • View all workspace resources (users, signers, wallets, policies, roles, rules, groups, recipients)
  • Approve proposals that affect workspace configuration
  • Cannot create or edit resources directly (must go through proposal flow)

Workspace Maintainer

Identifier: workspace-maintainer

Maintenance of workspace resources with broad create/edit permissions.

PermissionDescription
p1View workspace resources
p2Propose workspace resource changes

Complete Rules for Workspace Maintainer:

User Management:

ResourceActionDescription
/userslistList all users
/usersgetView user details
/usersinviteInvite users via email
/userscreateCreate new users
/userseditEdit user details
/usersdeleteDelete users

Rules Management:

ResourceActionDescription
/ruleslistList all rules
/rulesgetView rule details
/rulescreateCreate new rules

Roles Management:

ResourceActionDescription
/roleslistList all roles
/rolesgetView role details
/rolescreateCreate new roles
/rolesaddRulesAdd rules to roles
/rolesremoveRulesRemove rules from roles
/rolesaddUsersAdd users to roles
/rolesremoveUsersRemove users from roles
/rolesdeleteDelete roles

Groups Management:

ResourceActionDescription
/groupslistList all groups
/groupsgetView group details
/groupscreateCreate new groups
/groupseditEdit groups
/groupsdeleteDelete groups
/groupsaddUsersAdd users to groups
/groupsremoveUsersRemove users from groups

Recipients Management:

ResourceActionDescription
/recipientslistList all recipients
/recipientsgetView recipient details
/recipientscreateCreate new recipients
/recipientseditEdit recipients
/recipientsdeleteDelete recipients

Recipient Groups Management:

ResourceActionDescription
/recipient-groupslistList all recipient groups
/recipient-groupsgetView recipient group details
/recipient-groupscreateCreate new recipient groups
/recipient-groupseditEdit recipient groups
/recipient-groupsdeleteDelete recipient groups
/recipient-groupsaddRecipientsAdd recipients to groups
/recipient-groupsremoveRecipientsRemove recipients from groups

Assets Management:

ResourceActionDescription
/assetslistList all assets
/assetsgetView asset details
/assetseditEdit asset settings

Signers Management:

ResourceActionDescription
/signerslistList all signers
/signersgetView signer details
/signerscreateCreate new signers
/signerseditEdit signers
/signersdeleteDelete signers

Wallets Management:

ResourceActionDescription
/walletslistList all wallets
/walletsgetView wallet details
/walletscreateCreate new wallets
/walletseditEdit wallet settings
/walletsdeleteDelete wallets

Policies Management:

ResourceActionDescription
/policieslistList all policies
/policiesgetView policy details
/policiescreateCreate new policies
/policieseditEdit policies
/policiesdeleteDelete policies

Workspace Viewer

Identifier: workspace-viewer

Read-only access to workspace resources.

PermissionDescription
p1View all workspace resources

Rules:

ResourceActionDescription
/userslist, getView users
/signerslist, getView signers
/walletslist, getView wallets
/policieslist, getView policies
/roleslist, getView roles
/ruleslist, getView rules
/groupslist, getView groups
/recipientslist, getView recipients
/recipient-groupslist, getView recipient groups
/assetslist, getView assets

Wallet Maintainer

Identifier: wallet-maintainer

Full wallet management capabilities for assigned wallets.

PermissionDescription
p1View wallet resources
p2Create and manage spend requests
p3Review and approve proposals
p4Manage wallet settings

Rules:

ResourceActionDescription
/wallets/:widgetView wallet details
/wallets/:wid/balancesgetView wallet balances
/wallets/:wid/addressesget, listView wallet addresses
/wallets/:wid/transactionsget, listView wallet transactions
/wallets/:wid/spend-requestsaddCreate spend requests
/wallets/:wid/spend-requestslist, getView spend requests
/wallets/:wideditEdit wallet settings
/wallets/:wid/policiescreate, edit, deleteManage wallet policies
/proposalsreviewReview proposals for wallet
/proposalsapproveApprove proposals for wallet

Note: :wid is dynamically replaced with the specific wallet IDs the user has been granted access to.


Standard Wallet User

Identifier: standard-wallet-user

Standard user operations on assigned wallets.

PermissionDescription
p1View wallet resources
p2Create spend requests
p3Review proposals

Rules:

ResourceActionDescription
/wallets/:widgetView wallet details
/wallets/:wid/balancesgetView wallet balances
/wallets/:wid/addressesget, listView wallet addresses
/wallets/:wid/transactionsget, listView wallet transactions
/wallets/:wid/spend-requestsaddCreate spend requests
/wallets/:wid/spend-requestslist, getView spend requests
/proposalsreviewReview proposals for wallet

Capabilities:

  • View wallet balances, addresses, and transactions
  • Create spend requests (transactions)
  • Review (but not approve) proposals

Wallet Viewer

Identifier: wallet-viewer

Read-only access to assigned wallets.

PermissionDescription
p1View wallet resources

Rules:

ResourceActionDescription
/wallets/:widgetView wallet details
/wallets/:wid/balancesgetView wallet balances
/wallets/:wid/addressesget, listView wallet addresses
/wallets/:wid/transactionsget, listView wallet transactions
/wallets/:wid/spend-requestslist, getView spend requests

Role Relationships

Roles can inherit permissions from other roles through relationships. Higher-level roles automatically include all permissions from roles below them in the hierarchy.

Relationship Types

RelationshipDescription
includesThis role includes all permissions of the related role
extendsThis role extends the related role (same as includes)

Predefined Relationships

const roleRelationships = {
  'super-admin': {
    includes: ['workspace-owner', 'workspace-maintainer', 'wallet-maintainer'],
  },
  'wallet-maintainer': {
    includes: ['standard-wallet-user'],
  },
  'standard-wallet-user': {
    includes: ['wallet-viewer'],
  },
  'workspace-maintainer': {
    includes: ['workspace-viewer'],
  },
}
Workspace Branch Wallet Branch includes includes includes includes includes includes Super Admin Workspace Owner Workspace Maintainer Workspace Viewer Wallet Maintainer Standard Wallet User Wallet Viewer

On this page