Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Saviynt Role default admin approver issues

ashu1
New Contributor
New Contributor

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!

9 REPLIES 9

Saathvik
All-Star
All-Star

@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?


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

@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?

What is product version ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

2024sp2 as well as 5sp3.20

5.5SP3.20  and 2023.2

Sorry for the Typo :       2024.2 and 5.5SP3.20 we have tested its happening in both env.

Tested in v24.5 and v24.1 its working as expected 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

rushikeshvartak
All-Star
All-Star

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 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Do you have Global config set as Default role approver as admin?