[GeoNode-users] Regarding the RESOURCE_PUBLISHING options, how can staff users publish/unpublish

Tukang Sampah tkgsmph at gmail.com
Thu Aug 27 20:03:14 PDT 2015

Hi Simone,

Thanks, I think I figured this out. I made the mistake (?) of assigning
groupadmin to group1 from the group profile admin page
(/admin/groups/groupprofile/). It seems that assigning users from the group
profile admin page *does not* automatically assign the user to the
particular group in the user profile admin page (/admin/people/profile/),
which is necessary so groupadmin can access groupmember's unpublished layer
from the group activity page (group1 also only needs the "Who can manage
it?" permission for the layer). I had to assign groupadmin manually to
group1 in their user profile admin page. This is already handled
automatically if I assign groupadmin in the manage group members page
(/groups/group/group1/members/). Perhaps this is can be considered a bug?

Also for groupadmin to be able to actually publish the layer, they must
also have the permission to edit the layers metadata as well. And then they
will be able to enable the "Is published" field. I find it kind of odd that
even though a user has the "Who can manage it?" permission they must also
have the "Who can change metadata for it?" just to be able to publish the



On Thu, Aug 27, 2015 at 1:56 PM, Simone Dalmasso <simone.dalmasso at gmail.com>

> Hi, I think that being a "staff" is not enough to get access to the db
> tables. You have to grant the staff specific permissions from the staff
> admin user page, there should be a drag and drop area where you can move
> add, remove, edit resourcebase on the right panel.
> 2015-08-27 8:43 GMT+02:00 Tukang Sampah <tkgsmph at gmail.com>:
>> Dear all,
>> I have the following use case:
>>    1. RESOURCE_PUBLISHING is set to True
>>    2. Group1 has 2 users: groupadmin as manager, and groupmember as
>>    member
>>    3. User groupadmin has been assigned as a staff user by the superuser
>>    4. User groupmember uploads a layer, they make sure that Group1 is
>>    set in the "Who can view it" and "Who can manage it" permissions
>>    5. Because RESOURCE_PUBLISHING is True nobody can see the uploaded
>>    layer except groupmember
>>    6. User groupadmin's job is to review and publish groupmember's layer
>> It is mentioned in the doc (@
>> http://geonode.readthedocs.org/en/latest/reference/developers/settings.html)
>> that a staff user can access the admin page and publish/unpublish
>> resources. However when user groupadmin accesses /admin/layers/layer/ they
>> are not permitted, and when they access groupmember's uploaded layer page
>> from the group activity a 404 error is returned.
>> My question: where can the groupadmin go to publish/unpublish
>> groupmember's layer? Is groupadmin missing a permission to the layers admin
>> page? The only way I can get groupmember's layer to be published is by the
>> superuser themself, which is not desired.
>> Any suggestions are appreciated.
>> Thanks,
>> Tukang
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
> --
> Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150828/22e246e7/attachment.html>

More information about the geonode-users mailing list