[JBoss JIRA] (TEIIDDES-1548) Add GUI handling for permission conditions
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1548?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-1548 at 6/26/13 2:44 PM:
-----------------------------------------------------------------
Current vdb-deployer.xsd *permission* element
{code:xml}
<xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="resource-name" type="xs:string"/>
<xs:choice>
<xs:sequence>
<xs:element name="allow-create" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-read" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-update" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-delete" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-execute" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-alter" type="xs:boolean" minOccurs="0"/>
<xs:element name="condition" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="constraint" type="xs:boolean" default="true"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="mask" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="order" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:element name="allow-language" type="xs:boolean" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
{code}
was (Author: blafond):
Current vdb-deployer.xsd *permission* element
{code:xml}
<xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="resource-name" type="xs:string"/>
<xs:choice>
<xs:sequence>
<xs:element name="allow-create" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-read" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-update" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-delete" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-execute" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-alter" type="xs:boolean" minOccurs="0"/>
<xs:element name="condition" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="constraint" type="xs:boolean" default="true"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="mask" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="order" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:element name="allow-language" type="xs:boolean" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
{code}
> Add GUI handling for permission conditions
> ------------------------------------------
>
> Key: TEIIDDES-1548
> URL: https://issues.jboss.org/browse/TEIIDDES-1548
> Project: Teiid Designer
> Issue Type: Feature Request
> Reporter: Steven Hawkins
> Assignee: Barry LaFond
> Fix For: 8.2
>
>
> A common request is to implement row based security. Teiid has added the ability to define a permission condition for this purpose:
> <permission>
> <resource-name>...</resource-name>
> <condition>sql</condition>
> ...
> </permission>
> The sql should resolve against the resource specified, ideally designer would check that as well.
> See TEIID-2311 and the reference for how these conditions are applied.
> {code:title=vdb.xml snippet}
> <data-role name="base-role" any-authenticated="true">
> <description>Conditional access</description>
>
> <permission>
> <resource-name>modelName.tblName</resource-name>
> <condition constraint="false">column1=user()</condition>
> </permission>
>
> </data-role>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (TEIIDDES-1548) Add GUI handling for permission conditions
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1548?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-1548 at 6/26/13 2:39 PM:
-----------------------------------------------------------------
Current vdb-deployer.xsd *permission* element
{code:xml}
<xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="resource-name" type="xs:string"/>
<xs:choice>
<xs:sequence>
<xs:element name="allow-create" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-read" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-update" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-delete" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-execute" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-alter" type="xs:boolean" minOccurs="0"/>
<xs:element name="condition" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="constraint" type="xs:boolean" default="true"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="mask" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="order" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:element name="allow-language" type="xs:boolean" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
{code}
was (Author: blafond):
Current vdb-deployer.xsd *permission* element
{xml}
<xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="resource-name" type="xs:string"/>
<xs:choice>
<xs:sequence>
<xs:element name="allow-create" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-read" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-update" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-delete" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-execute" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-alter" type="xs:boolean" minOccurs="0"/>
<xs:element name="condition" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="constraint" type="xs:boolean" default="true"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="mask" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="order" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:element name="allow-language" type="xs:boolean" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
{xml}
> Add GUI handling for permission conditions
> ------------------------------------------
>
> Key: TEIIDDES-1548
> URL: https://issues.jboss.org/browse/TEIIDDES-1548
> Project: Teiid Designer
> Issue Type: Feature Request
> Reporter: Steven Hawkins
> Assignee: Barry LaFond
> Fix For: 8.2
>
>
> A common request is to implement row based security. Teiid has added the ability to define a permission condition for this purpose:
> <permission>
> <resource-name>...</resource-name>
> <condition>sql</condition>
> ...
> </permission>
> The sql should resolve against the resource specified, ideally designer would check that as well.
> See TEIID-2311 and the reference for how these conditions are applied.
> {code:title=vdb.xml snippet}
> <data-role name="base-role" any-authenticated="true">
> <description>Conditional access</description>
>
> <permission>
> <resource-name>modelName.tblName</resource-name>
> <condition constraint="false">column1=user()</condition>
> </permission>
>
> </data-role>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (TEIIDDES-1548) Add GUI handling for permission conditions
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1548?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1548:
----------------------------------------
Current vdb-deployer.xsd *permission* element
{xml}
<xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="resource-name" type="xs:string"/>
<xs:choice>
<xs:sequence>
<xs:element name="allow-create" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-read" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-update" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-delete" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-execute" type="xs:boolean" minOccurs="0"/>
<xs:element name="allow-alter" type="xs:boolean" minOccurs="0"/>
<xs:element name="condition" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="constraint" type="xs:boolean" default="true"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="mask" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="order" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:element name="allow-language" type="xs:boolean" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
{xml}
> Add GUI handling for permission conditions
> ------------------------------------------
>
> Key: TEIIDDES-1548
> URL: https://issues.jboss.org/browse/TEIIDDES-1548
> Project: Teiid Designer
> Issue Type: Feature Request
> Reporter: Steven Hawkins
> Assignee: Barry LaFond
> Fix For: 8.2
>
>
> A common request is to implement row based security. Teiid has added the ability to define a permission condition for this purpose:
> <permission>
> <resource-name>...</resource-name>
> <condition>sql</condition>
> ...
> </permission>
> The sql should resolve against the resource specified, ideally designer would check that as well.
> See TEIID-2311 and the reference for how these conditions are applied.
> {code:title=vdb.xml snippet}
> <data-role name="base-role" any-authenticated="true">
> <description>Conditional access</description>
>
> <permission>
> <resource-name>modelName.tblName</resource-name>
> <condition constraint="false">column1=user()</condition>
> </permission>
>
> </data-role>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (TEIIDDES-1756) web service generator get stuck
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1756?page=com.atlassian.jira.plu... ]
Ted Jones commented on TEIIDDES-1756:
-------------------------------------
Luca,
I am not able to reproduce your error with your project in my Window 7 environment. I noticed some other errors in your log regarding extension property loading. This may have contributed to your issue. Please try with 8.2 Alpha1 Designer.
> web service generator get stuck
> -------------------------------
>
> Key: TEIIDDES-1756
> URL: https://issues.jboss.org/browse/TEIIDDES-1756
> Project: Teiid Designer
> Issue Type: Bug
> Components: Web Services Support
> Affects Versions: 8.1
> Environment: windows XP
> Reporter: luca gioppo
> Assignee: Ted Jones
> Fix For: 8.2
>
> Attachments: .log, .log, eclipse.png, saveus.zip
>
>
> After invoking the web service generation the operation get stuck (this did not happen in 7.x version, but generation of WS was not so good anyway)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (TEIIDDES-1436) Hand Generated XML Document Models do not Correctly Associate Namespace URI/Prefix with Elements
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1436?page=com.atlassian.jira.plu... ]
Ted Jones resolved TEIIDDES-1436.
---------------------------------
Resolution: Done
This is corrected by TEIIDDES-1633
> Hand Generated XML Document Models do not Correctly Associate Namespace URI/Prefix with Elements
> ------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1436
> URL: https://issues.jboss.org/browse/TEIIDDES-1436
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 7.7.1
> Reporter: Ted Jones
> Assignee: Ted Jones
> Fix For: 8.2
>
> Attachments: foo.zip
>
>
> "Document models can be created that have nested namespaces, and Teiid contains code to use different namespace prefixes for nested elements. However at least for my simple test case (see attached) the generated mapping document does not contain any namespaceURI information for the elements - it only has the namespace declarations. It would appear that the logic in MappingDocumentFormatter is not correctly associating the prefix/uri with elements at least for a simple hand made document model. I don't know if things are different when starting with a schema." - SteveH
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months