@itechtecnologiadev/casl-artemis
v3.0.3
Published
- Only ADMIN
Downloads
43
Readme
ACTION X SUBJECT
Organization
User
- Only ADMIN
Product
- SUPERVISOR
Brand
- SUPERVISOR
Supplier
- SUPERVISOR
Manufacturer
- SUPERVISOR
Customer
- SUPERVISOR
Asset
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
AssetCategory
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
AssetModel
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
AssetStatus
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
AssetLocation
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
StockMovement
- create - TECHNICAL
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
- approve - SUPERVISOR
MovementType
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
StockLocation
- create - SUPERVISOR
- read - Everyone
- update - SUPERVISOR
- delete - Only ADMIN
AssetMovement
- create - TECHNICAL
- read - Everyone
- update - TECHNICAL
- delete - SUPERVISOR
AssetMaintenance
- create - SUPERVISOR
- read - Everyone
- update - TECHNICAL
- delete - SUPERVISOR
CustomAlarm
NotificationType
ROLES
ADMIN SUPERVISOR TECHNICAL VIEWER
Permissions table
| | ADMIN | SUPERVISOR | TECHNICAL | VIEWER | | --------------------------- | ----- | ---------- | --------- | ------ | | CRUD User | ✅ | ❌ | ❌ | ❌ | | CRUD Product | ✅ | ✅ | ❌ | ❌ | | Read Product purchase price | ✅ | ✅ | ❌ | ✅ | | CRUD Brand | ✅ | ✅ | ❌ | ❌ | | CRUD Supplier | ✅ | ✅ | ❌ | ❌ | | CRUD Manufacturer | ✅ | ✅ | ❌ | ❌ | | CRUD Customer | ✅ | ✅ | ❌ | ❌ | | Create Asset | ✅ | ✅ | ❌ | ❌ | | Read Asset | ✅ | ✅ | ✅ | ✅ | | Update Asset | ✅ | ✅ | ❌ | ❌ | | Delete Asset | ✅ | ❌ | ❌ | ❌ | | Create AssetCategory | ✅ | ✅ | ❌ | ❌ | | Read AssetCategory | ✅ | ✅ | ✅ | ✅ | | Update AssetCategory | ✅ | ✅ | ❌ | ❌ | | Delete AssetCategory | ✅ | ❌ | ❌ | ❌ | | Create AssetModel | ✅ | ✅ | ❌ | ❌ | | Read AssetModel | ✅ | ✅ | ✅ | ✅ | | Update AssetModel | ✅ | ✅ | ❌ | ❌ | | Delete AssetModel | ✅ | ❌ | ❌ | ❌ | | Create AssetStatus | ✅ | ✅ | ❌ | ❌ | | Read AssetStatus | ✅ | ✅ | ✅ | ✅ | | Update AssetStatus | ✅ | ✅ | ❌ | ❌ | | Delete AssetStatus | ✅ | ❌ | ❌ | ❌ | | Create AssetLocation | ✅ | ✅ | ❌ | ❌ | | Read AssetLocation | ✅ | ✅ | ✅ | ✅ | | Update AssetLocation | ✅ | ✅ | ❌ | ❌ | | Delete AssetLocation | ✅ | ❌ | ❌ | ❌ | | Create StockMovement | ✅ | ✅ | ✅ | ❌ | | Read StockMovement | ✅ | ✅ | ✅ | ✅ | | Update StockMovement | ✅ | ✅ | ❌ | ❌ | | Delete StockMovement | ✅ | ❌ | ❌ | ❌ | | Approve StockMovement | ✅ | ✅ | ❌ | ❌ | | Create MovementType | ✅ | ✅ | ❌ | ❌ | | Read MovementType | ✅ | ✅ | ✅ | ✅ | | Update MovementType | ✅ | ✅ | ❌ | ❌ | | Delete MovementType | ✅ | ❌ | ❌ | ❌ | | Create StockLocation | ✅ | ✅ | ❌ | ❌ | | Read StockLocation | ✅ | ✅ | ❌ | ✅ | | Update StockLocation | ✅ | ✅ | ❌ | ❌ | | Delete StockLocation | ✅ | ❌ | ❌ | ❌ | | Create AssetMovement | ✅ | ✅ | ✅ | ❌ | | Read AssetMovement | ✅ | ✅ | ✅ | ✅ | | Update AssetMovement | ✅ | ✅ | ✅ | ❌ | | Delete AssetMovement | ✅ | ✅ | ❌ | ❌ | | Create AssetMaintenance | ✅ | ✅ | ❌ | ❌ | | Read AssetMaintenance | ✅ | ✅ | ✅ | ✅ | | Update AssetMaintenance | ✅ | ✅ | ✅ | ❌ | | Delete AssetMaintenance | ✅ | ✅ | ❌ | ❌ |
✅ = allowed ❌ = not allowed ⚠️ = allowed w/ conditions