Implement the "settings.enabled" permission

Description

The "Settings" menu should be displayed only when the user has the settings.enabled permission.

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor July 14, 2017 at 2:44 PM

The server-response issue is now in .

Mike Taylor July 14, 2017 at 2:42 PM

On reflection, it's apparent that my code in stripes-core is working correctly based on the permissions supplied to it. So I am going to transfer the server-response problem into its own new issue, and close this one.

Mike Taylor July 14, 2017 at 2:36 PM

I have attached the current responses to login (which has the permission) and permissions (which does not). Surely this should be impossible?

Mike Taylor July 14, 2017 at 2:34 PM

Now I removed the settings.enabled permission from diku_admin – and I see the reverse problem. The /bl-users/login response contains the removed permission and the /perms/users/diku_admin/permissions response does not.

Mike Taylor July 14, 2017 at 2:31 PM

Infuriatingly, this is now working – I am getting back the correct set of permissions when I re-login.

I hate heisenbugs.

Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 14, 2017 at 1:39 PM
Updated July 20, 2017 at 11:36 AM
Resolved July 14, 2017 at 2:44 PM
TestRail: Cases
TestRail: Runs