Admins can view a dataset uploaded by the MAIN ADMIN but can not view its map layers
Closed this issue · 2 comments
Steps to Reproduce
- Log in as the main admin
- Upload a dataset as the Main Admin
- Set the permissions to None for both anyone and registered members
- Log out and log in from another admin account
- View the uploaded dataset(s)
Expected Behaviour
Other admins should be able to view the datasets uploaded by the main admin in totality. i.e. the thumbnail, metadata, info, abstract, map layers
Actual Behaviour
The admin can not view the map layers uploaded by the main admin.
Additional info: It seems the geoserver rules assign the user admin instead of the role admin.
Proposal: making admins a group
Geofence roles map to GeoNode groups, and currently we don't have a group for admins.
The initial work done to use Django groups as roles (and not only for organizations) was started when the "contributors" group was introduced. We should probably extend it to admins, and assign the default rule for datasets to and admin role rather then a single admin user.
This will take quite some work, so it won't happen soon, but let's keep this issue around.
closed in favour of GeoNode#10516