rubyforgood / rubyforgood/awbw

Allow super_user to view website as non super_user

Open
#564 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Ruby
Stars
15
Forks
26
Avg merge
12h 42m
Merged PRs (30d)
242

Description

A super user should be able to "view" the site as if they are a regular user.

-Add a button for super_user to enable preview mode
-Add a banner/flag at the top of the page to indicate they are in preview mode

Probably best to add this using ActionPolicy #485

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing super_user authorization flow and ActionPolicy issue #485. Identify where the super_user interface and page layout are handled; no specific files or tests are named in the issue. Done means a super_user can enable preview mode, sees a banner or flag while it is active, and views the site as a regular user.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
authorization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.