and more in a single search tool across platforms. Read the announcement here. |
05/10/2024 07:56 AM
Hello Guys,
We are using below Saviynt Role creation API and payload :
https://<hostname>/ECM/api/v5/createEnterpriseRoleRequest
Request Body:{
"roletype":"ENTERPRISE",
"role_name":"<role name>",
"requestor":<authenticate user>,
"owner": [ {
"rank": "1",
"ownerName":<owner_number>,
"updateType": "ADD"
},
{
"rank": "3",
"ownerName":<owner_number>,
"updateType": "ADD"
},
{
"rank": "26",
"ownerName":<owner_number>,
"updateType": "ADD"
}
],
"description" : "XXXXXXX",
"custompropertyXX":"XX",
"custompropertyXX":"XXX",
"custompropertyXX":"<nnnnn>",
"endpointname":"Sample application"
}
We see when role get created, It add Admin as RoleApproves at RANK5, However we are not passing this in payload. After further checks, we see admin is set at Global property configuration enable at Roles (Role default approver). This might be the reason a role get created with default Role approver as admin.
I would like to know why it specifically Set admin as Role Approver at RANK5. Is this a product default behavior? Any one have any idea!
Thank You and appreciated your feedback!
05/10/2024 09:28 AM
@ashu1 : Along with owners you have passed in API call is it adding admin as Rank5 or is it only showing admin as owner and skipping the data sent in API call?
Also Global Config setting you are referring is not supposed to add Role Owner by default. Atleast not in 23.10 which I validated. Can you change the owner in Default Role Approver to someone else and see if newly created role is being assigned to this new owner?
05/13/2024 11:35 PM
@Saathvik we tested this by changing the Global configuration and observed the default rank is being setup by Global Configuration itself. When we removed the setting, Rank 5 was not being assigned as a Role Owner.
And in Production we cannot remove this configuration.
Why its Rank5 only is set?
05/14/2024 08:19 PM
What is product version ?
05/14/2024 11:46 PM
2024sp2 as well as 5sp3.20
05/14/2024 11:48 PM
5.5SP3.20 and 2023.2
05/14/2024 11:54 PM
Sorry for the Typo : 2024.2 and 5.5SP3.20 we have tested its happening in both env.
05/15/2024 04:30 AM
Tested in v24.5 and v24.1 its working as expected
05/10/2024 09:55 AM
Above API is working as expected in v24.5 Please validate in latest version. It can be version issue.
This has been fixed in v5.5 SP 3.11 https://docs.saviyntcloud.com/bundle/Release-Notes/page/Content/v5.5.x/Release-Notes-v5-5-SP3-11.htm
05/14/2024 11:47 PM
Do you have Global config set as Default role approver as admin?