Ticket Q409495
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Security - Support domain components in the new security system (Client-Side UI and Integrated modes)

How to implement SecuritySystem on Domain Components?

created 13 years ago

Types IPermissionMatrixTypePermissionsOwner and TypePermissionMatrix refer to xpo class SecuritySystemTypePermissionObject

Answers

created 13 years ago (modified 13 years ago)

Right now we don't have a complete example that demonstrates how to implement security settings with the help of DC interfaces, and how DC interfaces are processed by the security system. We did not investigate this scenario when preparing v12.1 and cannot answer your question. Please use the SecurityComplex/SecuritySimple classes in your DC-based applications until we publish a complete solution for this scenario.

    Comments (2)
    SZ SZ
    Sergey Zaitsev (Xafari Team) 13 years ago

      I have derived User class which refer to domain component. But XPO classes don't understand a domain components. And User must be domain component too

      Dennis Garavsky (DevExpress) 13 years ago

        Sergey,
        Although adding references to DCs from persistent objects is possible (e.g., check out the How do I reference a domain component from an XPO business class ticket for some example code), it is better to avoid mixing DC and persistent objects. For instance, our XCRM demo demonstrates how to implement the solution Dan suggested using pure DC entities.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.