AlphaAlpha Docs

Roles & Permissions

Role-based access control in Alpha

Roles & Permissions

Configure role-based access control (RBAC) in Alpha.

Understanding Roles

Roles are named collections of permissions that define what actions users can perform in the system. Instead of assigning individual permissions to each user, you assign roles that bundle related permissions together.

How Roles Work

  1. Create a role with the permissions needed for a job function
  2. Assign the role to users who perform that function
  3. Users inherit all permissions from their assigned roles
  4. Update the role to change permissions for all users with that role

Roles control what a user can do. For controlling where they can do it (which subsidiaries and projects), see Access Control.

System Roles vs Tenant Roles

Alpha has two types of roles:

TypeScopeExamples
System RolesPlatform-wide, cannot be modifiedSuper Admin, User
Tenant RolesOrganization-specific, fully customizableSales Manager, Warehouse User

System roles are assigned by platform administrators. Tenant roles are managed within your organization.

Default Roles

RoleDescription
AdministratorFull system access
Sales ManagerSales operations
Sales UserOrder processing
Warehouse ManagerInventory control
Warehouse UserPicking/receiving
FinanceInvoicing/payments
ViewerRead-only access

Managing Roles

Creating Roles

  1. Go to Administration > Roles
  2. Click Add Role
  3. Name the role
  4. Select permissions
  5. Save

Editing Roles

  1. Open role
  2. Add/remove permissions
  3. Save
  4. Affects all users with role

Deleting Roles

  1. Reassign users to other roles
  2. Delete role
  3. Cannot delete if users assigned

Permission Categories

Alpha organizes permissions by functional module. When creating or editing roles, you select permissions from these categories.

Application Permissions

Core system and administration permissions:

PermissionDescription
Tenant AdminFull administrative access to the organization
Read TenantView organization settings
Update TenantModify organization settings
Read UsersView user accounts
Manage UsersCreate, edit, deactivate users
Manage RolesCreate and modify roles
Read StatsView dashboard statistics
Finance ManagerAccess to financial overview features
Create API KeysGenerate API keys for integrations
Read API KeysView existing API keys
Delete API KeysRemove API keys

Products Permissions

PermissionDescription
Create ProductsAdd new products
Read ProductsView product catalog
Update ProductsModify product information
Delete ProductsRemove products

Finance Permissions

Permissions for financial operations:

Clients

PermissionDescription
Create ClientsAdd new clients
Read ClientsView client information
Update ClientsModify client details
Delete ClientsRemove clients

Estimates

PermissionDescription
Create EstimatesCreate new estimates
Read EstimatesView estimates
Update EstimatesModify estimates
Delete EstimatesRemove estimates

Purchase Orders

PermissionDescription
Create POCreate purchase orders
Read POView purchase orders
Update POModify purchase orders
Delete PORemove purchase orders
Review POReview and approve purchase orders
Close POClose completed purchase orders
Reinstate POReopen closed purchase orders
Manage Suppliers POManage supplier relationships

Sales Orders

PermissionDescription
Create OrdersCreate sales orders
Read OrdersView sales orders
Update OrdersModify sales orders
Delete OrdersRemove sales orders

Invoices

PermissionDescription
Create InvoicesGenerate invoices
Read InvoicesView invoices
Update InvoicesModify invoices
Delete InvoicesRemove invoices

Suppliers

PermissionDescription
Create SuppliersAdd new suppliers
Read SuppliersView supplier information
Update SuppliersModify supplier details
Delete SuppliersRemove suppliers

Inventory Permissions

PermissionDescription
Create InventoryAdd inventory records
Read InventoryView stock levels
Update InventoryModify inventory
Delete InventoryRemove inventory records
Create PicklistsGenerate pick lists
Read PicklistsView pick lists
Update PicklistsModify pick lists
Delete PicklistsRemove pick lists
Create CountStart stock counts
Read CountView stock counts
Update CountModify stock counts
Delete CountRemove stock counts
Review CountReview and approve counts
Close CountFinalize stock counts

Production Permissions

PermissionDescription
Create ProductionCreate production orders
Read ProductionView production orders
Update ProductionModify production orders
Delete ProductionRemove production orders
Create MaterialsAdd material records
Read MaterialsView materials
Update MaterialsModify materials
Delete MaterialsRemove materials
Manage ShiftsConfigure production shifts
Manage WasteConfigure waste categories
Report WasteRecord production waste

Projects Permissions

PermissionDescription
Create ProjectsCreate new projects
Read ProjectsView project information
Update ProjectsModify project details
Delete ProjectsRemove projects

Configurator Permissions

For product configuration features:

PermissionDescription
Create/Read/Update/Delete ConceptsManage configurator concepts
Create/Read/Update/Delete TypesManage product types
Create/Read/Update/Delete OptionsManage configuration options
Create/Read/Update/Delete Option CodesManage option codes
Create/Read/Update/Delete VariablesManage configuration variables
Create/Read/Update/Delete Queue JobsManage processing queue

Asset Management Permissions

PermissionDescription
Create AssetsAdd new assets
Read AssetsView asset information
Update AssetsModify asset details
Delete AssetsRemove assets

Permission Levels

When viewing permissions in the role editor, they follow standard CRUD operations:

LevelAccess
NoneNo access to the feature
ReadView only access
CreateCan create new records
UpdateCan modify existing records
DeleteCan remove records
FullAll operations available

Role Hierarchy

Example Structure

Administrator (all permissions)
├── Manager Roles (department permissions)
│   ├── Sales Manager
│   ├── Warehouse Manager
│   └── Finance Manager
└── User Roles (limited permissions)
    ├── Sales User
    ├── Warehouse User
    └── Viewer

Assigning Roles

Single Role

Users typically have one role:

  1. Open user
  2. Select role
  3. Save

Multiple Roles

If needed:

  1. Create combined role
  2. Or assign multiple
  3. Permissions combine

Testing Roles

Before Deployment

  1. Create test user
  2. Assign role
  3. Test access
  4. Verify restrictions

Best Practices

Principle of Least Privilege

  • Grant minimum needed access
  • Start restrictive
  • Add permissions as needed

Role Maintenance

  • Review roles quarterly
  • Remove unused permissions
  • Document role purposes

Roles vs Access Control

It's important to understand the difference between roles and access control:

AspectRolesAccess Control
ControlsWhat actions users can performWhich resources users can see
ScopeFeature permissionsSubsidiaries and projects
InheritanceUsers inherit role permissionsSubsidiary access inherits to children
DocumentationThis pageAccess Control

A user needs both appropriate role permissions and resource access to perform an action on a specific resource.

On this page