13.07.2015 Views

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Customizing Roles| 92. Find all of the roles created for this enterprise. A list of roles for the enterpriseis displayed. The Name is the name of the role that is assigned to a user.Select id, name, description from rolewhere enterpriseID = 12343. Note the role name and the ID of the role you want to modify. This exampleuses 9876 as the role ID.4. Run the following SQL query to identify which menu you want to assign orremove for the role. The description indicates which function corresponds tothe identified menu.Select id, Name, description from function where id not in(28,29,26) and id < 305. Note the ID of the menu you want to grant or remove. This example uses 3456as the menu ID.6. Modify entries in the ROLE2FUNCMAP table to change the role-to-functionassociation.— To grant the menu to a role, remove the entry, if present.delete from role2funcmap where roleid = and funcid =— To deny a menu to a role, insert an entry.insert into role2funcmap(id, roleid, funcid, name, priority)values(mq_sequence_1.nextval, , , , 0Adding a New Role: ProcedureTo add a new role:1. Find the enterprise ID for which a role is to be added. For example, to find theenterprise ID, run the following query:select id from enterprise where name = '’;2. Pick a unique name for the new role.3. Add an entry for the new role in the role table.insert into role (id,enterpriseid,name,description,type,active,modmemberid, moddate,modversion,organizationtype)values(mq_sequence_1.nextval, , ,, 'ACCESS', 'Y',101,sysdate,1,)To deny menu or function to newly created role:<strong>TIBCO</strong> <strong>MDM</strong> <strong>Customization</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!