jshoyos / soen390-team01

MIT License
0 stars 0 forks source link

Module Permissions #62

Closed t-andrews closed 3 years ago

t-andrews commented 3 years ago

As an ERP admin, I want to be able to restrain the access to a module to certain role(s), so that I am sure that only authorized users can access modules with sensible information.

Restrictions to apply:

Module Authorized role names
User management admin
Accounting accountant
Transfer sales, accountant
Inventory inventory
Acceptance Test: Given When Then
An user trying to access a module The user has the required permission and tries to open the module. The user will be redirected to the selected module and will be able to make changes.
An user trying to access a module The user does not have the required permissions for the specified module The user will not be able to reach the selected module and will be redirected to an error message notifying him of the lack of permission