Anonymous_User Absent Member.
Absent Member.
232 views

Bypass Role Approval


Hello, i would like to know if anybody tried it or knows if there's any
chance of bypassing the role approval, similar as the SOD overriding.
For example when there's a new Role request, is there any chance to
override the role approval so it doesn't reach the engine that launchs
the workflow and bypass the approval.
Thanks in advance.

Guido.


--
gierache
------------------------------------------------------------------------
gierache's Profile: https://forums.netiq.com/member.php?userid=5597
View this thread: https://forums.netiq.com/showthread.php?t=49086

Labels (1)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Bypass Role Approval


gierache;236131 Wrote:
> Hello, i would like to know if anybody tried it or knows if there's any
> chance of bypassing the role approval, similar as the SOD overriding.
> For example when there's a new Role request, is there any chance to
> override the role approval so it doesn't reach the engine that launchs
> the workflow and bypass the approval.
> Thanks in advance.
>
> Guido.


Hi,

One way of doing it is to:
1. Request the roles form a home made workflow, that requests the role
with all parameters needed (put in Description field something you can
watch for in the approval workflow)
2. In the approval workflow put in a condition with a function in it:
function test()
{
var re = /NoApprovalForROleNeededAutoAddedl/;
return re.test(NrfRequest.getDescription())
};
test();

If this is true -> bypass the approval
If it is false -> normal approval kicks in

Hope it helps 🙂

br
/Anders


--
abergvall
------------------------------------------------------------------------
abergvall's Profile: https://forums.netiq.com/member.php?userid=278
View this thread: https://forums.netiq.com/showthread.php?t=49086

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Bypass Role Approval

On 10/29/2013 09:44 AM, abergvall wrote:
>
> gierache;236131 Wrote:
>> Hello, i would like to know if anybody tried it or knows if there's any
>> chance of bypassing the role approval, similar as the SOD overriding.
>> For example when there's a new Role request, is there any chance to
>> override the role approval so it doesn't reach the engine that launchs
>> the workflow and bypass the approval.
>> Thanks in advance.
>>
>> Guido.

>
> Hi,
>
> One way of doing it is to:
> 1. Request the roles form a home made workflow, that requests the role
> with all parameters needed (put in Description field something you can
> watch for in the approval workflow)
> 2. In the approval workflow put in a condition with a function in it:
> function test()
> {
> var re = /NoApprovalForROleNeededAutoAddedl/;
> return re.test(NrfRequest.getDescription())
> };
> test();
>
> If this is true -> bypass the approval
> If it is false -> normal approval kicks in
>
> Hope it helps 🙂
>
> br
> /Anders
>
>

Greetings,
It is required that if a Role has been marked to need a WF approval,
that it MUST go through an Approval Activity in the WF. If you skip the
Approval Activity you can see errors.

--

Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Bypass Role Approval

On 10/29/2013 9:04 AM, gierache wrote:
>
> Hello, i would like to know if anybody tried it or knows if there's any
> chance of bypassing the role approval, similar as the SOD overriding.
> For example when there's a new Role request, is there any chance to
> override the role approval so it doesn't reach the engine that launchs
> the workflow and bypass the approval.
> Thanks in advance.
>
> Guido.
>
>

Assign a group to the role, then add users not needing approval to the
group. This will bypass approval for any users added to the group.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.