-
Notifications
You must be signed in to change notification settings - Fork 1
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
Missing actions from resource card #35
Comments
Seems, that I had an inconsistent state .. however, we have to align the |
@gannebamm Here, I did a similar observation as you did on GeoNode/geonode#12616
EDIT: Saw, that you mentioned differences between upload via UI and REST API (and REST API seems to be "broken" here). Anyway: you mentioned |
I wanted to test ahmads work, which is merged and deployed with development demo. There was some strange behaviour with no title but I think this is due to other parts of the code. But for stable it also was not giving the right perms. That was the reason I tested stable (which seems to be on 4.4.x for some reason) |
The delete button is there on our version and it works as expected (after uploading via the API) |
@kilichenko-pixida could you please try to reproduce on stable.demo.geonode.org I will test it on our branch again. |
important info: @kilichenko-pixida do not use the admin account. The admin will get superuser privs and can see and delete the document. It should be uploaded by a registered user. The document uploaded by the registered user should be owned by this user. In my tests the contact is properly set and the user is set as owner in the metadata. Nonetheless, the user will not be able to delete the ressource or see it if view and download permission defaults are set to private. |
Yes, on the stable demo after aploading via API (api/v2/documents) I can't delete the document I just uploaded via UI |
@kilichenko-pixida pls check in a local debug session and chase for the root-cause |
@gannebamm just checked locally on the letest thuenen_4.x version, with a non-admin user I indeed cannot delete resources after uploading via API, only after UI uploads. |
@gannebamm Then it should be a duplicate of GeoNode/geonode#12616. If fixed, we would have to backport it to |
The upstream PR was merged and issue closed with some small changes, I'll apply those changes to our PR as well s.t. we can close this issue too |
Here's the referenced PR: GeoNode/geonode#12707 |
@gannebamm upstream issue got closes. This was just related. Feel free to close or move to Review |
The action itemsDelete
andCopy
are missing from the actions drop down list:Perhaps, this is a regression from updating to4.2.5
.There are lots of changes in the
localConfig.json
. We have to review and sync it with the latest changes from upstream.Part of #30
The text was updated successfully, but these errors were encountered: