cancel
Showing results for 
Search instead for 
Did you mean: 

service acl

Former Member
0 Kudos

Hi,

I need to set some service permissions on a file in KM(I know how to set "normal" permissions). Does sb have some example code? and next question, in adm manual is statued that in order to use service permissions on a file it has to be serviceacl service activated on a folder-how to do it?

thanks

JJ

Accepted Solutions (1)

Accepted Solutions (1)

thilo_brandt
Employee
Employee
0 Kudos

Hi Jiri,

its quite similar to the default ACL handling. Use this page as entry point:

https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/client_api/rf_client_api.html#security

Find a list with all service ACLs in the JavaDoc here:

https://media.sdn.sap.com/html/submitted_docs/nw_kmc/javadoc/com/sapportals/wcm/util/acl/IAclPermiss...

Simply set the service ACL as you set them for default ACLs.

Best regards,

Thilo

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jiri,

concerning your second question, what is stated in the admin manual ist that:

"Service permissions are only available if the serviceacl service has been activated for the repository of the folder in question".

So you have to go to KM configuration -> Content Management -> <b>Repository Managers</b> -> CM Repository and take care that for the repository where your folder is in (i.e. /documents) the Repository Service "svc_acl" is checked.

Hope this helps,

Robert

Message was edited by: Robert Briese

Former Member
0 Kudos

thanks,

i am not able to find that CM Repository on portal installation i have :(.

On EP6SR1 i couldnt find anything, on ep6sp7(i think) thare is Content Management-> Repository Services-> Service-ACL Service, there is only one service configured : svc_acl...acl_jdbc_service , is it that what u mean?

The next thing i took a notice is that i can set these service permissions on folders so acl service is workning. So how can i set service permissions on files(is it possible??)?(for folders it is in Details-Settings-Service permissions)

thanks

JJ

Former Member
0 Kudos

I am sorry for all my stupid questions, i didnt see note in administration manual: You can only set service permissions for folders.

sorry

JJ

thilo_brandt
Employee
Employee
0 Kudos

Hi Jiri,

if you have the permission to change the KM configuration you must see the entry Repository Managers -> CM Repository in the configuration iView. As Robert described you have to add the svc_acl service on the Repository you want to use it, otherwise it won't work.

The details iView only allows to set Service permissions on the folder level. If you want to set them for resources as well, you have to use the API, I posted before.

Regards,

Thilo

Former Member
0 Kudos

Hi,