Scorpster / tracmor

Automatically exported from code.google.com/p/tracmor
GNU General Public License v2.0
0 stars 0 forks source link

Hide the SHIP button from users without shipping rights #85

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create a user role that has Shipping -> Disabled.
2. Assign this user role to a user.
3. Logon as the user, select an asset.  Why is the Ship button displayed?
4. If the user clicks the Ship button, he sees the message:

You are not authorized to view this page. Go Back.

What is the expected output? What do you see instead?

No Ship button.

What version of the product are you using? On what operating system?

Windows 7 Professional, XAMPP 1.7.3, tracmor 0.3.0

Please provide any additional information below.

Original issue reported on code.google.com by mikeyf...@gmail.com on 11 Jan 2011 at 12:45

GoogleCodeExporter commented 8 years ago
Both the SHIP and RECEIVE buttons have similar behavior.  If a user doesn't 
have any Shipping or Receiving abilities, they should be shown the buttons.

Original comment by mikeyf...@gmail.com on 19 Jan 2011 at 6:29