fez_de Posted October 1, 2013 Share Posted October 1, 2013 Hi,I was wondering if it is possible to create a set from a query in DomEL.My example goes a little like thisTable: Ordersorder_iduser_iddivsion_iddivision_parent_idTable: Usersuser_iddivision_idnow my idea is to show rows that match these filters:orders.user_id IN (select user_id from users) OR orders.division_id IN (select division_id from users) OR orders.division_parent_id IN (select division_id from users) Why do I want this? The idea is to then have a row-level access to the users file (so only showing the current user from table users). Such I would create a domain that only shows the orders that the current user is allowed to see (more than his personal orders) Any idea how I could achieve this?Any input welcom and thanks a lot,Felix 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now