Skip to content

"Secret combo" to grant all privileges #2861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nicolas-raoul opened this issue Apr 5, 2019 · 3 comments
Open

"Secret combo" to grant all privileges #2861

nicolas-raoul opened this issue Apr 5, 2019 · 3 comments

Comments

@nicolas-raoul
Copy link
Member

Context

We are starting to limit some features to only users who have reached a certain level.

Problem

While generally a good thing, there are some side-effects on people who legitimately should be able to use all features:

  • Developers with test accounts
  • Long-time Wikignomes who specialize on certain tasks (for instance preventing copyvios) but might have some stats lacking.

Solution

I propose the app waives all restrictions to users who tap the About screen 7 times. Only true Wikimedians will know this secret. This is how Google prevents average users from doing irresponsible things: http://www.androidcentral.com/how-enable-developer-settings-android-42

The idea was first discussed at now-closed issue #97

@maskaravivek
Copy link
Member

maskaravivek commented Apr 5, 2019

Related: #2269.

Based on a combination of factors, features can be switched off/on for a particular user. On top of mind, I have these parameters:

  • has user enabled experimental features or not (Could be enabled using "Secret combo")
  • Flavor: Beta/Alpha/Prod (information available locally)
  • Android Version (information available locally)
  • Username (information available locally. can be fetched from the backend as well)
  • Country or location (information available locally)
  • User achievement level (information available locally)

@misaochan
Copy link
Member

Should this work for prod server also or only for beta? I'm not sure if it's worth the added complexity of coding all the level restrictions, if it can be bypassed so easily. A simple search would bring the "secret" up, even if the person has zero experience with Wikimedia.

I would be in favour of only allowing this shortcut for the beta server for convenience sake. Devs can always temporarily hardcode their level or mock it in the debugger anyway if they really needed to for prod tests.

@nicolas-raoul
Copy link
Member Author

I was thinking for both servers.
I believe only a very small fraction of the users would think of searching for secret cheatcodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants