In all cases below CB Privacy Set to Normal CB Settings and Access Level for Tab set to Registered
With CB Conditionals Set to defaults
As expected
Registered User1 can view and edit TAB in Own Profile
Registered User1 can view but not edit TAB in User2 Profile
Want to allow User1 to view TAB in Own Profile but Not Edit it
CB Conditional 1 for TAB set to
Display - Tab Conditional
If Field - UserGroups
UserGroups - Registered
Mode - Hide
Registration - Enable
Profile Edit - Enable
Profile View - Disabled
Result, as expected for Own Profile, User1 Can View TAB in Profile but it is hidden in Edit Mode
Result NOT as expected for other Users Profile - TAB can no longer be seen in by User1 in User2 Profile
Want to allow member of another group to See and Edit that TAB Conditional 1 left as above and
CB Conditional 2 for TAB set to
Display - Tab Conditional
If Field - UserGroups
UserGroups - OtherGroup
Mode - Show
Registration - Enable
Profile Edit - Enable
Profile View - Enable
If user is member of OtherGroup then Result, as expected, User1 Can View TAB in Profile and can Edit in Edit Mode
If User1 is not a member of OtherGroup the Result is NOT as expected User1 can no longer view the TAB in own profile and cannot Edit see Tab in Edit Mode.
My overall objective is to implement a hierarchy of view/edit rights so just making users moderators gives them access to all tabs not just the ones I want them to be able to view/edit. e.g some TABS in a profile should be visible to the owning user but not editable by the owning user, but visible and editable by users in another group who have access to that tab but not all tabs.
Hope that is not too confusing!
Adrian
Using Moderator on own without conditionals does not work for me as some
Just don't condition the view at all and only condition the edit views.
A tab or field can only be conditioned once in a specific view. If you condition it twice in profile edit for example then only the last condition matters. There is no AND/OR functionality at this time. So conditions will directly conflict with one another. Keep this in mind when configuring conditions.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Nope, this doesn't achieve anything as to be able to edit the member of OtherGroup has to also be a member of the Moderators group in which case they can edit anyway.
The owner of the profile can still edit the TAB whether they are a member of OtherGroup or not.
The attached MSWord File shows permission cases which work as expected in Table 1
Table 2 has permission cases and logic I think ought to work, but it doesn't based on single Conditional based on usergroup.
The problem seems to be that when you set a condition on a UserGroup whether HIDE or SHOW it HIDES or SHOWS without matching the vale of the Usergroup Set.
Example - I have a moderator user set with NotOtherGroup set - it shows or hides according to logic, but another moderator without NotOtherGroup follows the same HIDE or SHOW behaviour.
You can not condition the same tab or field more than once in the same view. It's not possible. There's no AND/OR condition capability yet (planned in later release). So multiple conditions in the same view will conflict with one another. You can debug your condition states further using the debug mode now included in latest CB Conditional release if needed. CB Moderators are not exempt from conditions.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.