This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » SelectObjectRelationNode type is used...
expandshrink

SelectObjectRelationNode type is used when assigning rolw with subtree limitation

SelectObjectRelationNode type is used when assigning rolw with subtree limitation

Friday 09 November 2012 2:48:09 am - 3 replies

When assigning a user role with "Assign with limitation" restriction, in the browse module the SelectObjectRelationNode browse type is used.

Is that on purpose?

Shouldn't we use FindLimitationSubtree browse type?

Tuesday 13 November 2012 6:31:15 pm

Hi Marko,

FindLimitationSubtree browse type is used when adding policy limitations, not role assignment limitation.

Role assignments can only have one limitation value per assignment, so you should be able to only select one subtree/section. (FindLimitationSubtree has SelectionType=multiple, and SelectObjectRelationNode has SelectionType=single)

Tuesday 13 November 2012 6:54:46 pm

1) Shouldn't we then have a special browse type for role assignment?

What if somebody wan't to custoise object relation browsing differently than rolle assignment browsing?

2) Why don't we allow in role assignment to select more than one node, and then just add several assignments at once?

Modified on Tuesday 13 November 2012 6:55:19 pm by Mavko Žmak - Žmale

Wednesday 14 November 2012 11:30:56 am

Quote from Mavko Žmak - Žmale :

1) Shouldn't we then have a special browse type for role assignment?

What if somebody wan't to custoise object relation browsing differently than rolle assignment browsing?

2) Why don't we allow in role assignment to select more than one node, and then just add several assignments at once?

I guess both of those are questions for eZ engineering team happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from