wt.inf.container
Class FinalizeOrganizationAccessR6ToR7
java.lang.Object
wt.inf.container.FinalizeOrganizationAccessR6ToR7
- public class FinalizeOrganizationAccessR6ToR7
- extends Object
This is a method server "B" migrator intended to clean up loose ends
related to organization-based access control. In particular, there
are some policies and group memberships that do not get migrated by
the AllContainersMigrator
. For each org container:
- Ensure the container's org domain has policies granting org
members read access to users and groups. This allows org members
to see each other. These policies are created by the
WTOrganizationValidator
in non-migration
scenarios.
- Ensure the container's administrators group is a member of the
global type administrators group.
- If the container is unrestricted, ensure the org members group
is a member of the gloabl unrestricted organizations group.
Notes:
- This migrator uses paging since it iterates through every org
container in the system.
- This migrator also creates a separate transaction for each page
of org containers. In order for these transactions to not
be wrapped in a global transaction, IU files that call out this
migrator should set the property
disableAutoTransaction
set to true
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WTUSER_NAME
private static final String WTUSER_NAME
WTGROUP_NAME
private static final String WTGROUP_NAME
WTORG_NAME
private static final String WTORG_NAME
PAGE_SIZE
private static final int PAGE_SIZE
- See Also:
- Constant Field Values
READ_PERM
private static final Vector READ_PERM
typeAdministrators
private static WTGroup typeAdministrators
unrestrictedOrganizations
private static WTGroup unrestrictedOrganizations
FinalizeOrganizationAccessR6ToR7
public FinalizeOrganizationAccessR6ToR7()
runMigration
public static final void runMigration()
throws Exception
- Throws:
Exception
migrate
private static final void migrate(OrgContainer container,
WTOrganization org)
throws Exception
- Migrates a container and org
- Parameters:
container
- The org container to migrateorg
- Its associated WTOrganization
- Throws:
Exception