cancel
Showing results for 
Search instead for 
Did you mean: 

Permission to subfolder

bjornivar3
Champ in-the-making
Champ in-the-making
This is an end-user question, no java customization problem. Is there a one step method to giving a user access to only a subfolder? If you Invite a user to the subfolder he/she will not see it, since he/she hasn't access to the parent folders. I've managed to give access to it by going into each parent folder and granting the user access to each. But that seems a bit awkward. Also many times you don't want to show, and the user is not interested in, the exact folder structure above a particular folder.


/Cheers from Björn
4 REPLIES 4

kevinr
Star Contributor
Star Contributor
The user should be able to navigate directly to the folder using the absolute GUID based navigation link. So the one copied from the Details page for that space called 'Browse Page URL' and will look something like this:
http://server:8080/alfresco/n/browse/workspace/SpacesStore/5b662bfa-0948-11dc-a9b0-9510f1de50be

That should work fine even if the user does not have any access to the parent.

Thanks,

Kevin

cricalix
Champ in-the-making
Champ in-the-making
kevinr or any other Alfresco engineer:

Are there any plans for a future feature that would present a UI where the user can see all invited spaces/documents/nodes?  The trivial implementation is an SQL table of user ID and invited node ID - the rest should be available with joins (like rights for displaying in the UI).

I received an invite the other day to a space (where I have no rights to the parent), but since there was no node link, I have no way of actually navigating to that space (without asking the inviter for a direct link to the node).

kevinr
Star Contributor
Star Contributor
There is not at present. It actually requires a tricky query since Iniviting a User simply applies an ACL to a space - it does not set any property on the node itself that can be queried directly using Lucene etc. We would need to add something like that - or query for all specifically assigned permissions for a user - but that will include all sorts of permissions that may not be due to an Invite. Please raise a JIRA item for it.

Thanks,

Kevin

cricalix
Champ in-the-making
Champ in-the-making
Thanks Kevin.

I noticed that if I actually flip the template to invite_user_email.ftl, I actually get a link to the space, which means I can short-cut it.  I guess I'll file a JIRA requesting that that template be used by default for space invites, rather than the hard-coded one.  I'll also raise a JIRA for the Invited Nodes page.