Skip to content
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

Allow admins to have premium features #1306

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reedy
Copy link
Collaborator

@reedy reedy commented Jul 11, 2023

Fixes #1279

@reedy
Copy link
Collaborator Author

reedy commented Jul 18, 2023

I need to test this... I can't remember if this was enough (ie just to allow them to be set on settings)...

@chrisrosset
Copy link
Collaborator

Some other places come to mind:

  • login.php sets $_SESSION['elite'].
  • map.php reads the DB and returns the elite status to the client. When opening a map for another user, this is used to display the right icon.

@reedy reedy added the enhancement New feature requests or improvements to existing functionality. label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature requests or improvements to existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow $OF_ADMIN_UID user(s) to have premium features
2 participants