cancel
Showing results for 
Search instead for 
Did you mean: 

Permission problem in myspaces-webscript (Status 500)

_sax
Champ in-the-making
Champ in-the-making
When viewing the MySpaces List in the dashboard, everything is working, if the user logged in has the rights to access companyhome. But as soon as say, a guest is trying to view this list, he gets an Web Script Status 500 error, stating the variable companyhome is undefined.
The there mentioned myspaces.get.html.ftl defines which path should be displayed in the dashboard. But even if that is being altered to userhome or
<#assign home=companyhome.childByNamePath["/Guest Home"]>
the message stays the same (except naming userhome instead of companyhome as undefined).
As only very few users will be allowed to access companyhome in an Alfresco installation, this seems to be a common problem. We can reproduce it on 2.1 (Community) and 2.9b, the ladder being freshly installed.
Is this a known problem?
6 REPLIES 6

_sax
Champ in-the-making
Champ in-the-making
Before posting it to JIRA i thought that there could be a simple solution to this, so i rather started here. I wonder, if it's just a configuration problem that can be worked around easily…

kevinr
Star Contributor
Star Contributor
This is a known issue where the Guest user does not have access to Company Home and therefore cannot access nodes via path down from it.

Kevin

kevinr
Star Contributor
Star Contributor
…so you would need to give the Guest user Consumer access to Company Home.

_sax
Champ in-the-making
Champ in-the-making
Alright, thank you for clarifying this issue.
Since this dashlet is a good way of getting new users closer to the software, is there a solution to this on the agenda?

schneika
Champ in-the-making
Champ in-the-making
But what about LDAP-Sync and NTLM-Auth, there i have no guest-User anymore? How can i recreate a guest-user while LDAP/NTLM?
The same troubles i get with RSS-Feeds, they also need guest-access on the expected RSS-Smartspace.
Any Solutions?

andy
Champ on-the-rise
Champ on-the-rise
Hi

Do not remove existing user during an LDAP import. Then you should have a guest person that can be used. Have you removed the nodemal admin user as well?

Switch back to the Alfresco authentication - recreate guest - then switch back.

Andy