Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 9 Promotion Rights : Obtaining Promotion Rights to a Rule

Obtaining Promotion Rights to a Rule
TIBCO Object Service Broker stores rules in a three-tiered library system. The three libraries are:
 
Users each have their own local library that contains rules they created, copied, or modified for their own use. Provided they have the proper access, users can access each other’s local library by changing the library field on the workbench.
The installation library contains rules available to all users of a particular installation. The content of this library is controlled by the TIBCO Object Service Broker system administrator. It is usually referred to as the SITE library.
The system library contains rules shipped as part of the TIBCO Object Service Broker system. It is usually referred to as the COMMON library.
The rights you obtain on rules apply to the library to which you save the rules. They are not transferred automatically (for example, if you copy a rule to another library, the rights are not transferred). To transfer rights from one library to another, execute the MR Manage Rights option from the developer’s workbench as described in Chapter 13, Management of Promotion Rights.
Effect of Adding or Modifying Rules
If you want to add a new rule or modify an existing rule in the installation library, edit the rule and save it to your local library. By saving the rule to your local library, you automatically obtain the promotion rights on that rule.
TIBCO Object Service Broker warns you if promotion rights are held by someone else. If the rule you are saving is a new rule, the warning means that someone else has a rule with exactly the same name. Even if you cannot obtain the promotion rights, you can still save the rule to your local library but you cannot promote it later.
Obtaining Promotion Rights Automatically
If all three of the following conditions are true, the rights to a rule are obtained automatically if:
In addition, when a developer includes a rule in a change request, the rights are obtained with the execution of the P line command. For more information, refer to Chapter 13, Management of Promotion Rights. In all other cases, a developer must explicitly use MANAGE_RIGHTS to obtain available rights on a rule.
Deleting Rules
If you want to delete an existing rule from the installation library, you must first obtain promotion rights to it. To obtain the rights, edit the rule and save it to your local library. You do not have to make any changes to it. You can then delete the rule through a change request.
See Also
TIBCO Object Service Broker Programming in Rules for more information about rules libraries.
Invoking the Promotion Rights Management Tools for more information on the MANAGE_RIGHTS tool.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved