csantanapr / dapp-examples

Series of Single Page Apps using the dApp Framework
http://csantanapr.github.io/dapp-examples
Other
5 stars 4 forks source link

Hide Edit button on read/view item because or user role #19

Open csantanapr opened 11 years ago

csantanapr commented 11 years ago

From requirement document:

The “signed in” person is not an “administrator” or is not either the “Requested By” or “Assigned To” person; i.e., “administrators” can change any Request, and if not an “administrator” only a “logged in” person that is either the Requested By or Assigned To person  can change the Request.

csantanapr commented 11 years ago

We could provide a ui with group of radio buttons to allow to switch role. it can be a new view, or we can put in home view. this is not production, but will allow to demo switching user