cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

merging 2 authorizations

ttellier
New Contributor

Hi

 

I am looking for a way to merge two authorizations.

The merge tool does not seem to allow this.

 

 

Thanks 

4 Replies

Hi Lionel

 

Thank you for your help.

I have done the job but I'll try your macro !

 

Regards,

Thierry

Hello Thierry,

 

I've already done something that could be usefull to you.

You will find in attachment a .mgl file containing a MetaCommand and a Macro.

It creates a "Fusionner 2 autorisations" submenu in the "Tools" menu.

 

Be aware that I give it to you as an example : please use it only if you understand the VBScript of the macro, and test it in a sandbox environment.

It works fine for me (I've already used it twice), but "use it at your own risk" 🙂

 

Also note that the process may last for a very long time if you have many objects in the source authorization.

You can improve this by modifying in the macro the query that gives the Metaclasses to be treated.

And do not forgot to modify the path for the log file 😉

 

Regards,

 

Lionel

 

PS : It was created in a MEGA 2009 SP4 CP13 version.

Hello

 

Thanks for reply.
That's what I thought ... unfortunatly.
So let's do it !

 

Best regards,

Thierry Tellier

 

jhorber
MEGA
MEGA

Hello ttellier

 

Merging two authorizations is not a trivial actions and cannot be performed using the generic merge object wizard.

t means to delete one authorization which can have a significant impact.

 

Let us consider you want to merge an authorization called 'AS' with an authorization called 'AT'

You need to

  • Connect users of 'AS' to 'AT' and compile the authorization diagram
  • Change the authorization of each object currently tagged with 'AS'. Otherwise they will be considered as tagged with the higher authorization (administrator) when 'AS' is deleted. A tool 'Protect objects' is available for this.

Once you are sure no object is tagged with 'AS' and no customized code is referring to 'AS' you can delete this authorization.

As long as you are not sure of this, keep 'AS' in the authorization diagram

See also user manual 'MEGA Administration - Supervisor EN.pdf', section 'CUSTOMIZING AUTHORIZATION MANAGEMENT'

Jerome