-
Notifications
You must be signed in to change notification settings - Fork 24
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
Error when attempting to create locations and mapsets #266
Comments
Hi @veroandreo, only admins can create new mapsets and locations, see also here. Which actinia instance are you using here? If you are using your credentials on actinia.mundialis.de (role: user), then this error is currently intended. However if you are running a local actinia instance that you try to access as admin, then there seems to be an issue. |
Hi @griembauer, I see. I'm using actinia.mundialis.de, username: veroandreo. But I do not know what permissions/resources I have or not (#265). What is the role:user allowed to do? Are there any plans to create different user levels then? Or users with the role:user must request admins to create location and mapsets and install grass addons (https://github.com/mundialis/ace/issues/6) for them? |
You can see what endpoints you are allowed to access as user from https://actinia.mundialis.de/api/v1/swagger.json --> go to Different user levels are not envisioned, however you are right that the role |
A user gets the error:
The tutorial list permissions of the different roles (https://actinia.mundialis.de/tutorial/actinia_concepts.html#user-user-roles-and-user-groups). According to this the user should be allowed to create a new mapset. In future, it is planned that the user is also allowed to create a new location: https://github.com/mundialis/actinia-stac-plugin/wiki/3-Read#in-which-location-will-be-calculated. |
Waiting for implementation of comment above |
Will be changed in actinia_core version > 4.2.0 |
The user is now allowed to create and delete own mapsets and locations via the respective endpoints. The actinia core version must be > 4.2.0. |
Hi,
I try to create a new location and mapset as this is currently needed to create STRDS (#264). However, both using actinia endpoints and
ace
, I get errors like:and
Is this a permission problem? Is it possible for a user to create a location and mapset? I exported my credentials as env vars and they are fine.
The text was updated successfully, but these errors were encountered: