What is the minimum role to change metadata via a CAPI ?

418 views
Skip to first unread message

yves.d...@gmail.com

unread,
Jun 30, 2016, 11:59:36 AM6/30/16
to Fujitsu RunMyProcess Developer Community
Hello,

I've created a CAPI which allows to change metadata from a user with :
<#assign update= P_change_metadata(user_metadata_change, 'manager_login',new_manager_login?default(""))>
<#assign update= P_change_metadata(user_metadata_change, 'service',new_service?default(""))>

CAPI is then called from a Web Interface. It works well when the P_connected_user has an administrator rôle. But its fails for any other role.
I've tried to have the CAPI launched by a role with Supervisor, by an Administrator role but same result.

Is there a way that someone which a Supervisor role can update metadata via CAPI ?

Regards
Yves
RunMyProcess - Google Chrome.jpg

Murali

unread,
Jul 1, 2016, 2:47:44 PM7/1/16
to Fujitsu RunMyProcess Developer Community, yves.d...@gmail.com
Hi,

"Supervisor" is the access right to define access for a Project Resource and where as "Administrator" has access to every thing(Project Resources, User management, etc) on an Account.

And for your requirement, CAPI can be only launched by the admin user to update the user's metadata.

Please refer to below user guide links and resolved posts for detailed information.

https://docs.runmyprocess.com/User_Guide/Development_Environment/Customer_Account/Users
http://docs.runmyprocess.com/Developer_Guide/Rights/Access_Rights
https://groups.google.com/a/runmyprocess.com/forum/#!topic/supportforum/vE1sh7_w7Tc

Hope this information helps.

Regards,
Murali
Fujitsu RunMyProcess Support
Reply all
Reply to author
Forward
0 new messages