Skip to Content
author's profile photo Former Member
Former Member

KM ACL - permissions for an KM directory


I'd like to programmatically set permissions to a Knowledge management directory (for user and so for group). I don't know how to do that, i didn't found any suitable tutorial.

I found only this guide: management and collaboration developers guide.html

But, in javadoc for package com.sapportals.wcm.util.acl is noted: com.sapportals.wcm.util.acl.jdbc.JDBCAclManager is default AclManager. It seems strange to me, I thought portal using LDAP repositories for storing portal objects and their ACL lists. Above mentioned guide say nothing about this and other installation issues for using of package com.sapportals.wcm.util.acl.

When I'm using package com.sapportals.wcm.util.acl, should I fill name of some service to "SharingReference" or "ServiceReference" in portalapp.xml?

Can somebody give me starting point?

Best Regards,

Josef Motl

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 17, 2005 at 08:15 PM

    Hi Josef,

    see create acl for collection for an introductionary example.

    Of course you have to reference the corresponding libraries; in general, if you use class C, of which you know it is in Jar J.jar within application A - that is: C.class is part of .../WEB-INF/portal/portalapps/A/lib/J.jar - you have to put A as SharingReference into portalapp.xml.

    On the other hand, for KM things to do, often it is enough to reference "Knowledgemanagement", for this is the alias defined in portalapp.xml within application and this again references other KM parts transitively.

    To add an ACL entry, create an IResourceAclEntry by the ACLManager and add this entry to the ACL in question.

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.