0 votes

Hi

When adding a user from a group, Business rule with operation "Before updating a Group" is triggered.
If this is the right functionality, what is the purpose of operation "Before adding a member to a Group" ??

Technically the group is updated (member attribute), but literally not updates were made on the group,
because the operation "Before adding a member to a Group" should be used when adding members instead.

Please correct this and/or suggest a workaround.

Cheers

by (2.6k points)

1 Answer

0 votes
by (304k points)
selected by
Best answer

Hello,

This behavior is correct as the Member property of a group is modified.
As a workaround, you can add the If PowerShell script returns true condition to the Business Rule with the following script:

$Context.ConditionIsMet = $True

$operation = $Context.Action.GetOperationName($NULL, $Context.TargetObject, " ADM_ACTIONNAMEFORMAT_GENERAL")

If ($operation -eq "manage group members")
{
    $Context.ConditionIsMet = $False
}


The script returns False if only Member property is updated, and the Business Rule is not triggered.

Related questions

0 votes
1 answer

Is it possible to make a Rule Based group based on the Computer having a odd or even number attached to it? For example: Computer01 & Computer03 Goes into the Odd ... a group that we can query from other platforms easily and obviously keep up to date.

asked Feb 7 by rurbaniak (1.5k points)
0 votes
1 answer

Hello! We are using the current version of Adaxes and are in the process of making the password self-service available to our users. We have installed the self-service client ... are doing wrong? Thanks Erik [EDIT]: Corrected image links. Sorry about that...

asked Jun 6, 2014 by eventit (160 points)
0 votes
1 answer

Hello, I've identified an important functionality change between the old and new portal versions that is significantly impacting our workflow efficiency. Previous ... improve efficiency and user experience. Thank you for considering this feedback.

asked 4 days ago by wintec01 (2.0k points)
0 votes
1 answer

Hello, I've noticed an important functionality change between the old and new portal that significantly impacts my workflow efficiency. Previous Functionality (Old Portal) In ... us who rely on this functionality daily. Thank you for considering this feedback.

asked 4 days ago by wintec01 (2.0k points)
0 votes
1 answer

Hello, We have recently begun setting up Adaxes and are trying to exercise least privilege on both of the accounts we have created to manage the service. ... account is also given the appropriate Security Role within the Adaxes administrative console.

asked Sep 12, 2023 by just.kon (20 points)
3,716 questions
3,396 answers
8,588 comments
549,945 users