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

Issue with UserHasPerms #9970

Closed
mattiagiupponi opened this issue Sep 6, 2022 · 0 comments
Closed

Issue with UserHasPerms #9970

mattiagiupponi opened this issue Sep 6, 2022 · 0 comments
Assignees
Labels
4.0.x master security Pull requests that address a security vulnerability
Milestone

Comments

@mattiagiupponi
Copy link
Contributor

Expected Behavior

if in the perms_dict of UserHasPerms class is defined only as "add_resourcebase" the user is able to upload a resource

Actual Behavior

The user receives a 403

Specifications

  • GeoNode version: 4.x, master
@mattiagiupponi mattiagiupponi added security Pull requests that address a security vulnerability master 4.0.x labels Sep 6, 2022
@mattiagiupponi mattiagiupponi added this to the 4.0.1 milestone Sep 6, 2022
@mattiagiupponi mattiagiupponi self-assigned this Sep 6, 2022
github-actions bot pushed a commit that referenced this issue Sep 7, 2022
* [#Fixes #9970] Fix users has perms

* [Fixes #9970] made the model being dynamic
mattiagiupponi added a commit that referenced this issue Sep 7, 2022
afabiani pushed a commit that referenced this issue Sep 7, 2022
* [#Fixes #9970] Fix users has perms

* [Fixes #9970] made the model beign dynamic

* [Fixes #9970] fix api test
afabiani pushed a commit that referenced this issue Sep 7, 2022
* [#Fixes #9970] Fix users has perms

* [Fixes #9970] made the model being dynamic

Co-authored-by: mattiagiupponi <[email protected]>
github-actions bot pushed a commit that referenced this issue Sep 7, 2022
* [#Fixes #9970] Fix users has perms

* [Fixes #9970] made the model beign dynamic

* [Fixes #9970] fix api test
afabiani pushed a commit that referenced this issue Sep 7, 2022
* [#Fixes #9970] Fix users has perms

* [Fixes #9970] made the model beign dynamic

* [Fixes #9970] fix api test

Co-authored-by: mattiagiupponi <[email protected]>
@mattiagiupponi mattiagiupponi reopened this Sep 7, 2022
github-actions bot pushed a commit that referenced this issue Sep 7, 2022
* [Fixes #9970] union real instance and base instance perms
mattiagiupponi added a commit that referenced this issue Sep 8, 2022
* [Fixes #9970] union real instance and base instance perms

Co-authored-by: mattiagiupponi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0.x master security Pull requests that address a security vulnerability
Projects
None yet
Development

No branches or pull requests

1 participant