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

List layers and maps across all users #17

Closed
raitisbe opened this issue Jul 29, 2019 · 2 comments
Closed

List layers and maps across all users #17

raitisbe opened this issue Jul 29, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@raitisbe
Copy link
Contributor

raitisbe commented Jul 29, 2019

Could we have some option to make a composition public e.e visible to everyone at the same time allowing the author to modify or delete it?

I was thinking that maybe the author could call REST:
/rest/<user>/maps/<mapname>/publish

and then the same map would appear in two places
GET /rest/<user>/maps/<mapname>
and also
GET /rest/public/maps/<mapname>
and
GET /rest/public/maps/

@jirik
Copy link
Member

jirik commented Jul 29, 2019

Currently, there is neither authentication nor authorization in layman, so every map composition is visible to anyone and editable by anyone.

Authentication and authorization is the next major step in Layman's development. The discussion already started, detailed timeline should be available in August. With authentication and authorization, author will be able to set access rights of the map (e.g. visible to anyone, editable only by me).

Anyway, I expect REST API URLs remain same as now. Maps will be obtained simply by GET /rest/<user>/maps - and the response may contain only limited list of maps depending on user credentials and access rights.

@jirik jirik changed the title Making compositions public List compositions across all users Apr 23, 2020
@jirik jirik changed the title List compositions across all users List layers and maps across all users Apr 23, 2020
@jirik jirik added the enhancement New feature or request label Apr 23, 2020
@jirik
Copy link
Member

jirik commented Mar 5, 2021

Authentication and authorization are already implemented. Request all layers/maps will be possible after #257 is implemented.

@jirik jirik closed this as completed Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants