apidocs / com.srv4pos.server.api.auth / UserRole

UserRole

enum class UserRole

The roles of users. Each user has one role.

User: slix, Date: 27.04.2014 13:51

Enum Values

ROLE_HYPER_ADMIN

Can do anything.

ROLE_SOFTWARE_VENDOR_ADMIN

Edit seller and seller data, who have at least one activation for his software vendor. Manage activations requested trough it's software and activate them. Activation has field activationPackages which identifies the software.

ROLE_REGULAR_USER

Run only PosPlusController#kd.

Functions

hasAuthorityOn

fun hasAuthorityOn(userRole: UserRole): Boolean