on 02-22-2005 12:56 PM
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
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:
Simply set the service ACL as you set them for default ACLs.
Best regards,
Thilo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.