Freemarker + space permissions

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 10:16 AM
Alfresco,
I'm trying to build some custom view with the Freemarker templating system but can't find what I need. The following is working perfect:
I'm trying to build some custom view with the Freemarker templating system but can't find what I need. The following is working perfect:
<#list companyhome.aspects as aspect> ${aspect}</#list>
But now I need the same for the permissions of this space (e.g. companyhome). I tried:<#list companyhome.permissions as permission> ${permission}</#list>
But that didn't really work out. Is there any way to get the permissions for a space and use them in my Freemarker pages?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 11:26 AM
Hi Simon
Permissions are not exposed in the freemarker model at the moment.
See TemplateNode.
I have added this as a request.
http://www.alfresco.org/jira/browse/AWC-648
Regards
Andy
Permissions are not exposed in the freemarker model at the moment.
See TemplateNode.
I have added this as a request.
http://www.alfresco.org/jira/browse/AWC-648
Regards
Andy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 05:09 PM
Saves me some time tomorrow when I'm trying this… thanks for the JIRA request.
