[
https://jira.jboss.org/jira/browse/TEIID-1017?page=com.atlassian.jira.plu...
]
Ramesh Reddy resolved TEIID-1017.
---------------------------------
Resolution: Done
For the data policies defined in the "vdb.xml" through tooling, user can define
permissions to data. User can then use Admin API methods to assign the container defined
"role" name to the data policy
addRoleToDataPolicy(vdbName, vdbVersion, policyName, roleName);
removeRoleToDataPolicy(vdbName, vdbVersion, policyName, roleName);
User should be able to also use JOPR based tool to add above. However that implementation
is still to be done in TEIID-807
Move defining the Data Roles to VDB deployer XML file. Map the roles
to container roles
---------------------------------------------------------------------------------------
Key: TEIID-1017
URL:
https://jira.jboss.org/jira/browse/TEIID-1017
Project: Teiid
Issue Type: Sub-task
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 7.0
Previously in Teiid, in order to define data roles for a VDB, the were defined in a file
called "data-roles.xml" and that file used to be included with the VDB artifact.
Move the definition and contents of this file in vdb.xml (see TEIID-998)
Given a "data role" at design time, the user should be able to map this role
to a "container" role. Give ability in the Admin API to update this role
mapping.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira