-
Notifications
You must be signed in to change notification settings - Fork 12
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
[UNESCO IHP-WINS] Allow UNESCO-IHP's admins to make a final check on every data uploaded before it goes visible by everyone. #175
Comments
my idea here:
|
Your proposal is ok, please proceed ad you specified. About permissions, I would leave them as they are (if possible) and hide the "unpublished" resource to users not belonging to Admin group (staff members) and the Owner of the resource. If not possible, I would force the permissions and hide the form when uploading. It would be great if there is also the possibility from the admin dashboard to choose which "Groups" or "Users" may edit "unpublished" resources, or at least enable an "Editor" checkbox (similar to "Staff") allowing them to view unpublished resources. WARNING It must be very clear from the UI which are "Draft" resources. Maybe a different color or a red asterisk. |
The quickest way would be to set it as unpublished. Permissions would be preserved as selected by user. i've noticed this setting: http://docs.geonode.org/en/master/reference/developers/settings.html#resource-publishing |
there's additional app, https://github.com/GeoNode/geonode-notification which probably could be used for notifications. I'll check if will it work here |
Geonode-notification app is out-of-date. It's based on old version of pinax app, which has been updated since last commit there. It has several template inheritance problems:
From chat with Alessio: GeoNode notifications are under big rewrite in master branch (new GN version will require AMQP broker running: GeoNode#2889), making current notifications infra obsolete. I'll add code that will mark affected resource types as unpublished, when created from upload. Admin will be able to switch objects on in edit view. Permissions will be preserved. I guess notifications part will be handled independently with new infrastructure. |
At the moment, my plan (partially implemented) is:
I see a place for small improvements here. Currently notifications are send after each change. We could add separate notification types for moderation only, which will be send only if change is from different user, and only from view (so no flood of notifications when data are updated from scripts). |
Main difference between geonode-user-account and upstream's django-user-account is account registration moderation and invitations. i'm not sure if new version of pinax app can do invitations. We can move this functionality to separate app. Registration moderation can be implemented in geonode core, work optionally only if account app is installed (similar to notifications), and be hooked with signals. My idea here is to:
There's also one more aspect to remember: data migration between apps. i can write simple script that would copy table contents from old apps to new ones |
This changed a bit:
|
This is implemented:
Waiting for GeoNode#3047 to be merged into geonode |
This is to prevent public sharing of incorrect data or metadata incorrectly filled.
Every time new data is uploaded, admins must be notified to be able to check it. Until that verification is done, data remains visible only by its owner and IHP's admins. Once it is checked, IHP's admins change data permissions to make it visible according to its owner's will.
The text was updated successfully, but these errors were encountered: