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

Prevent API usage with temp credentials, except specific mapper endpoints #1738

Closed
spwoodcock opened this issue Aug 7, 2024 · 1 comment
Closed
Labels
backend Related to backend code bug Something isn't working effort:low Likely a few hours priority:low Backlog of tasks that will be addressed in time

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Aug 7, 2024

  • OSM login or temp login is possible for project creation.
  • Temp login is only really there for mappers, so we should prevent people creating projects with temp creds.

Mappers need to access with temp creds:

  • View project
  • Get entity list
  • Update task status
  • Comment?
@spwoodcock spwoodcock added bug Something isn't working priority:low Backlog of tasks that will be addressed in time backend Related to backend code effort:low Likely a few hours labels Aug 7, 2024
Anuj-Gupta4 added a commit to Anuj-Gupta4/fmtm that referenced this issue Oct 24, 2024
@spwoodcock spwoodcock changed the title Make OSM login mandatory for project creation Prevent API usage with temp credentials, except specific mapper endpoints Oct 24, 2024
@spwoodcock
Copy link
Member Author

I made a bit of a mistake hastily creating this issue, as the problem is actually related to: #1785

Once the auth bypass for the HOTOSM org is removed, roles will work as intended.
Only org managers can create projects etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code bug Something isn't working effort:low Likely a few hours priority:low Backlog of tasks that will be addressed in time
Projects
Development

Successfully merging a pull request may close this issue.

1 participant