Permissions for Upload Layer and Documents

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Permissions for Upload Layer and Documents

Liyuneh Gebre
Dear All 
Is there any techniques  to make the Permissions in Layer and Documents uploads automatically to  a group  without selecting drop downs from each permissions ( Who can view it, Download it ,change metadata and manage) to the following users or groups.
Best Regards


--
Liyuneh Gebre
Geospatial Database Administrator and Researcher 
Ethiopian Institute of Agricultural Research 
Climate and Geospatial Directorate 
Office Phone: +251 -116-460380
Cell Phone:    +251-911- 858155
P.O.Box: 2003
Addis Ababa 
Ethiopia

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: Permissions for Upload Layer and Documents

Simo D
Hi, no unfortunately there isn't without changing the codebase. What you can do is select multiple layers at time in the layer list page and assign permissions to all at once.

Regards

2017-07-19 12:39 GMT+02:00 Liyuneh Gebre <[hidden email]>:
Dear All 
Is there any techniques  to make the Permissions in Layer and Documents uploads automatically to  a group  without selecting drop downs from each permissions ( Who can view it, Download it ,change metadata and manage) to the following users or groups.
Best Regards


--
Liyuneh Gebre
Geospatial Database Administrator and Researcher 
Ethiopian Institute of Agricultural Research 
Climate and Geospatial Directorate 
Office Phone: +251 -116-460380
Cell Phone:    +251-911- 858155
P.O.Box: 2003
Addis Ababa 
Ethiopia

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone 

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: Permissions for Upload Layer and Documents

Liyuneh Gebre
thanks but Sir what are the related tables to update the Permissions  based on the uploaded layer in the group using scripts 

On Wed, Jul 19, 2017 at 2:30 PM, Simone Dalmasso <[hidden email]> wrote:
Hi, no unfortunately there isn't without changing the codebase. What you can do is select multiple layers at time in the layer list page and assign permissions to all at once.

Regards

2017-07-19 12:39 GMT+02:00 Liyuneh Gebre <[hidden email]>:
Dear All 
Is there any techniques  to make the Permissions in Layer and Documents uploads automatically to  a group  without selecting drop downs from each permissions ( Who can view it, Download it ,change metadata and manage) to the following users or groups.
Best Regards


--
Liyuneh Gebre
Geospatial Database Administrator and Researcher 
Ethiopian Institute of Agricultural Research 
Climate and Geospatial Directorate 
Office Phone: +251 -116-460380
Cell Phone:    +251-911- 858155
P.O.Box: 2003
Addis Ababa 
Ethiopia

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone 



--
Liyuneh Gebre
Geospatial Database Administrator and Researcher 
Ethiopian Institute of Agricultural Research 
Climate and Geospatial Directorate 
Office Phone: +251 -116-460380
Cell Phone:    +251-911- 858155
P.O.Box: 2003
Addis Ababa 
Ethiopia

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: Permissions for Upload Layer and Documents

Simo D
Here, in set_defaul_permissions which is invoked on every resource creation. https://github.com/GeoNode/geonode/blob/master/geonode/security/models.py#L141
Use the Group associated to your GroupProfile

2017-07-19 13:59 GMT+02:00 Liyuneh Gebre <[hidden email]>:
thanks but Sir what are the related tables to update the Permissions  based on the uploaded layer in the group using scripts 

On Wed, Jul 19, 2017 at 2:30 PM, Simone Dalmasso <[hidden email]> wrote:
Hi, no unfortunately there isn't without changing the codebase. What you can do is select multiple layers at time in the layer list page and assign permissions to all at once.

Regards

2017-07-19 12:39 GMT+02:00 Liyuneh Gebre <[hidden email]>:
Dear All 
Is there any techniques  to make the Permissions in Layer and Documents uploads automatically to  a group  without selecting drop downs from each permissions ( Who can view it, Download it ,change metadata and manage) to the following users or groups.
Best Regards


--
Liyuneh Gebre
Geospatial Database Administrator and Researcher 
Ethiopian Institute of Agricultural Research 
Climate and Geospatial Directorate 
Office Phone: +251 -116-460380
Cell Phone:    +251-911- 858155
P.O.Box: 2003
Addis Ababa 
Ethiopia

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone 



--
Liyuneh Gebre
Geospatial Database Administrator and Researcher 
Ethiopian Institute of Agricultural Research 
Climate and Geospatial Directorate 
Office Phone: +251 -116-460380
Cell Phone:    +251-911- 858155
P.O.Box: 2003
Addis Ababa 
Ethiopia



--
Simone 

_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users