Joomla 2.5
You can select only one ACL for a menu item.
Let's say I have groups:
group1
group2
group3
group4
group5
And ACLs
ACL1 (contains group1)
ACL2 (contains group2)
ACL3 (contains group3)
ACL4 (contains group4)
ACL5 (contains group5)
Now I need to attribute to menu items some combinations of ACLs.
Let's say
MenuItem1 visible by group1 and group2
MenuItem2 visible by group1 and group5
MenuItem3 visible by group3 and group5
etc...
To achieve this I need to create a lot of ACLs that will satisfy my needed combinations of groups:
ACL6 for MenuItem1 (contains group1 and group2)
ACL7 for MenuItem2 (contains group1 and group5)
ACL8 for MenuItem3 (contains group3 and group2)
etc...
And this is really uncomfortable.
Is there a way (or an extension) that would permit to attribute multiple ACLs for a menu item (without creating new ACLs that would reflect the needed group combinations)?
The easy solution is to create multiple menu items, each assigned with the group you need. Otherwise, the way you are doing it with parent ACL groups is the way to go.
Related
Say, I want to retrieve some users and I have provided both user_filter & group_filter to filter out the specific users that I need.
user_filter = (&(cn=ab*)(sn=cd*))
group_filter = (|(cn=gh*)(cn=kl*))
I know how to write individual queries for user & group. How can I combine the above filters to write a single query such that I get the users whose common name starts with 'ab' and surname starts with 'cd' and they either belong to groups which start with 'gh' or 'kl'?
It depends how you have membership defined. If you have membership on the groups, eg. group1 has member attribute for user1, this combined query is not possible. If you have groups defined on the user, eg. user1 has memberOf attribute for group1, then you may do something like
(&(objectclass=user)(cn=ab*)(sn=cd*)(|(memberof=cn=gh*)(memberof=cn=kl*)))
By default Rhodecode lists the repos available to a user in a grouped form - root-level repos first in a list and a list of groups underneath. Clicking on a group displays the nested repos and groups in a similar list with the selected group becoming the new "root".
Is it possible to configure Rhodecode to display a "flat" list of all repos available to a user, prefixed with a "path" made of groups?
A flat list of repositories with groups is displayed in /_admin/repos but for performance reasons a flat list is not allowed in main view.
You can use for reference the /_admin/repos instead.
I am implementing a Sales process where it includes 3 set of users. Set 1 consists of Sales Analyst, Set 2 consists of Sales managers, and Set 3 consists of Sales Directors.
In my sales Process, I am using 3 different Process flows against an opportunity. If users under Set 1 logs in they only need to see views and Process assigned to Set 1 users and same in the case for other Set users (Set 2, Set 3).
Is it possible to create a group/profile and assign users to it, so that in future if I create any view or process I only need to assign that process/Views to a particular Set (Set1, Set 2, Set 3)?
Is it possible to achieve through Dynamics?
2 different things.
Business process flow: To show only BPF1 to Set1 (sales analysts), create a security role (or use existing sales analyst role which might have assigned to only Set1 users), map this role to BPF1 using “Enable Security Role” option
Catch: so far created records with BPF1 will still show it for Set2 users.
Views: To show PublicView1 only to Set1, there’s no easy way to regulate it using Team or Security roles. But you can create Personal view & share with Set1 users or a Set1Team (add all Set1 users to this team)
I am trying to come up with an UI design for creating a user in Account (Customer) and assigning them a to a one of the levels in hierarchy. And the hierarchy can change depending on the Account selected. I am developing this in an Ionic 2 app.
Would appreciate if you guys can suggest some best approaches in going about it. And, honestly, I am not able to come up with anything good.
Following is an example of various levels that can be setup up for different Accounts. There's going to be 10 levels but not all Accounts will use all 10 levels.
Account is the top most level. All the levels under that will have multiple values. And selecting a value at a level should show only the relevant values in the remaining levels.
Account - Store1 [A Super User having access to all features (Stores)]
|
Country - USA, Canada [User will have access to features of selected country]
|
Region - Eastern, Northern [Features only for the selected region]
|
States - CA, NY, etc.
|
City - San Francisco, San Jose, NYC, etc.
|
Store - Store1, Store2, etc.
Not all Accounts (Customers) will have all the levels. Some might have only 3 or some will have just 2 or others will have 5 and then some might have all 10 of them.
What's the best way to design the User Interface for such data.
Any ideas, suggestions, pointers will be very helpful.
Thanks.
Well , firstly i am sure you could come up with some good ideas you just need to be drinking better coffee ;) . You are a programmer .. its what we do.
Jokes aside. I have recently had to implement a similar hierarchical select structure and did it with each selection navigating to a new view. At first i didnt think this approach was the best but for my use case it actually was because each page had CRUD operations and so clearly differentiated each section.
In your case it is a bit different as they are only selects.
What i would do is show or hide a <ion-list> for each child in the selection process with the selected value at the top separated by an arrow icon.
Selection 1 -> Selection 2 -> Selection 3
Please select
item 1
item 2
item 3
item 4
So basically just show and hide with *ngIf based on the user role and where they are in the selection process with selected options at the top
Consider following scenario in Joomla user access.
I have two users; User1 and User2.
User1 mapped to Group1 and User2 mapped to Group2. Also, Group1 is mapped to View Level1.
For Article1, i set Edit, Delete permission as Allowed for Group1 (permission for all other groups as Denied) and View access level is set to Level1
So, It should let User2 to edit Article1 and User1 to view article.
Since User2 can edit will he be able to view article as well ?
Is there anyway of controlling Joomla article access per user ?
One thing is that "seeing" and "doing" are treated separately. So one place you can make a mistake is to give a user an action permission on something she can't see. On the other hand. You need to add user2 to Group 1 either directly or by inheritance i.e. make group2 inherit from group1. You could also add Group 2 to access level 1.
To control by user in the implementation in the CMS you would need to make a group that only contained that user. The only exception is "edit own."
However with plugins or with your own implementation of acl using JAccess you have the possibility to do many other approaches.