Change instance owner
Changes the owner of a protected instance. An instance owner may be an EDMuser or an EDMgroup. EDMusers are denoted owners. EDMgroups are denoted owner groups.
Any protected instance may be owned by an EDMuser and/or an EDMgroup. By default, that will be the EDMuser/EDMgroup that initially created the instance. Ownership may be granted to any new EDMuser and/or EDMgroup by superuser.
If the database is created with EXTENDED_ACCESS_CHECKING, changing the owner/owner group of an instance, will also cause the owner/owner group to be added to the list of instance administrators. Only the superuser may change ownership of instances.
Only superuser may use this function.
Arguments:
Instance type: |
The different instance types that can have their owner changed by this command are:
|
Repository: |
Specify the repository to change ownership for if repository is entered in the Instance type field. If other instance type than repository is selected, the serach for instance to change ownership for is limited to the repository specified here. Repository names are case sensitive. |
Model/Archived Model: |
If model or archived model is entered in the Instance type field, specify the name of the model/archived model to change ownership for. Model names are case sensitive. |
Express/Express-x schema name: |
If express_schema or express_x_schema is entered in the Instance type field, specify the name of schema or express_x_schema for which access rights are to be changed. |
QuerySchema/RuleSchema name: |
If query_schema or rule_schema is entered in the Instance type field, specify the name, specify the name of query_schema or rule_schema for which access rights are to be changed. |
User or Group: |
Specify if either user or group owner is to be changed. |
User/Group name: |
Specify the group or owner that will be the new owner. |
Options:
accumulating command output: |
A global option that appends the command output to the EDMsupervisor output window. Otherwise the output window is refreshed and only the last command output is displayed. |
exact match: |
Exact match on instance type is required |
match selected input: |
A global option that specifies that only items that partly or exactly matches the string in the related argument input field when activating a Select button, will be in the selection list. An empty (blank) string will match all items. |
for all owned instances: |
When changing ownership use this option to specify that all objects of specified instance type owned by the owner of the specified object should change ownership. |
unset owner: |
Unset the instance owner attribute |
unset owner group: |
Unset the instance owner group attribute |
remove as administrator: |
Remove the EDMuser or EDMgroup from the list of administrators. |
set owner: |
Set the given EDMuser as instance owner. |
set owner group: |
Set the given EDMgroup as instance owner group. |
replace current: |
Replace the existing owner/owner group with the given EDMuser/EDMgroup. |