Skip to content
This repository was archived by the owner on Jun 20, 2018. It is now read-only.

Add session specific controls to dashboard so that users who have permiss#13

Open
mscheibe wants to merge 1 commit intodisqus:masterfrom
eventbrite:switch_session_override
Open

Add session specific controls to dashboard so that users who have permiss#13
mscheibe wants to merge 1 commit intodisqus:masterfrom
eventbrite:switch_session_override

Conversation

@mscheibe
Copy link
Contributor

Add session specific controls to dashboard so that users who have permission to view the admin tool (staff) can more easily enable/disable a feature for just their session. This is useful for testing/debugging workflow.

The new options are:

  • Session Enable
  • Session Disable
  • Session Bypass (The default, which falls back to the real status.)

Implementation wise, this works by adding a session cookie per switch. Restarting the browser will delete the cookie, and normal users will not have any extra cookies.

…mission to view the admin tool (staff) can more easily enable/disable a feature for just their session. This is useful for testing/debugging workflow.

The new options are:
- Session Enable
- Session Disable
- Session Bypass (The default, which falls back to the real status.)

Implementation wise, this works by adding a session cookie per switch. Restarting the browser will delete the cookie, and normal users will not have any extra cookies.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant