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

Hide user profile page in Phoenix (and link to it from top-right corner) #23

Closed
agstephens opened this issue Dec 22, 2020 · 1 comment
Closed
Assignees

Comments

@agstephens
Copy link
Member

No description provided.

antony-wilson added a commit that referenced this issue Jan 6, 2021
Phoenix.

This relates to #23

A new variable has been introduced, `local-user-management`, which can
be set in the `custom.cfg`, e.g. `local-user-management = false`. By
default the value is `true` and the current behaviour remains unchanged.

When set to `false` then a number of end-points will not be found:
- people
- people/profile/{userid}/{tab}
- people/delete/{userid}
These items will also be removed from the navbar
@antony-wilson
Copy link
Collaborator

Changes have been made for where user management is handled outside of Phoenix.

A new variable has been introduced, local-user-management, which can
be set in the custom.cfg, e.g. local-user-management = false. By
default the value is true and the current behaviour remains unchanged.

When set to false then a number of end-points will not be found:

  • people
  • people/profile/{userid}/{tab}
  • people/delete/{userid}

These items will also be removed from the navbar

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

No branches or pull requests

2 participants