7
votes
ACL and control access to download documents based user-group permissions
DocMan will do this.
http://www.joomlatools.com/extensions/docman/overview
Configure your user groups with this inheritance:
Public
Friends and Family (inherits the PUBLIC settings but has more
...
7
votes
Accepted
Restrict front-end component access
First place to start is with Joomla, if Joomla does it then you can read the code to see how it's been implemented. The current ACL model was introduced way back in the start of the 2.5 line (aka 1.6)
...
6
votes
Get access level for a URL
I don't think there is info about the access on the URL level, nor there is a "global - thing" that controls the access of any url/page, so you can fetch this info in a list.
Some brief background ...
6
votes
Restrict user access to specific com_content category
There are 2 possible ways, I answer both ways each in separated answer.
This answer creates a complete new user group. You have to create a new user group, set this user group as child of the “Public” ...
6
votes
Accepted
Restrict user access to specific com_content category
There are 2 possible ways, I answer both ways each in separated answer.
This answer uses the exclude category variant. You have to create a new user group, set this user group as child of the “Manager”...
6
votes
Accepted
How can I grant a non-Super User group permission to force check-in of articles?
Assuming you have the latest Joomla version, if you are using the default usergroups available in Joomla, then the administrators usergroup should have access to the "Check-In" component.
The ...
4
votes
Accepted
How can I use PHP to add ACL Rules of a custom Usergroup to a core Component?
Pending a more elegant solution, here's my somewhat neanderthal approach that works:
// Get the Asset record for com_content
// I'm not assuming that the row id will be the same in every Joomla ...
4
votes
Remove elements from Joomla control panel admin menu
I'm not sure which elements exactly you want to remove for your client, however what you can do is change his user group from Super Admin to Admin which will remove a lot of the default options such ...
4
votes
Permission for edit articles and users
Yes,
Go to Users -> Groups
Click New button and create a custom group
Go to Content -> Article Manager
Click on Options button on toolbar
Click on Permissions tab
Click on your custom user group (...
4
votes
Accepted
How to check if the user is authorized to view a particular article?
You can see an exemple of this check in this file
modules/mod_articles_latest/helper.php
https://github.com/joomlagovbr/joomla-3.x/blob/master/modules/mod_articles_latest/helper.php
$...
4
votes
Access Levels Explanation Joomla 3
There are a few parts to this.
The group and the viewing access level. A person is part of a group. E.g Administrator.
A group is assigned a viewing access level. A group can have multiple viewing ...
4
votes
Accepted
Hide a button depending on ACL
A simple way is to check if the user has an id - if so it means the user is logged in. If id = 0 then it's a guest user and you can show the button as below:
$user = JFactory::getUser();
if($user-&...
3
votes
How can I use PHP to add ACL Rules of a custom Usergroup to a core Component?
Sorry, but I have no option then to post another answer.
If I understand you correctly, you do install your own component, and want to add another option to com_content. So can't you just use
<...
3
votes
Accepted
Where is the right place to check for ACL / Session expired / permissions?
Session and ACL are two separate concepts, even though they are coupled, so it good to understand the distinction between them. I also assimilate the term permissions with ACL.
Session
Since you are ...
3
votes
ACL and control access to download documents based user-group permissions
I tend to use Docman for this sort of thing, but you could still use the built in ACL to control regular articles and then embed document urls in the articles. If you've got a lot of documents though, ...
3
votes
Accepted
JCE not appearing for custom front-end user-groups
Guys after messing around with the ACL in all other places, and checking for any kind of possible other issues for some hours, finally I managed to sort this out.
The issue was caused by the ACL ...
3
votes
Accepted
Can the Access List of a Front-End menu item be limited to certain User Groups?
Not in a standard sense, i.e. the normal UI provided by Joomla. (Presuming you're talking about when an actual menu item is created here?) Extensions don't get a chance to run code when a menu item is ...
3
votes
How to set up my custom Joomla ACL structure?
ACL is an intermediate topic (at least) and if someone needs to create a more complicated ACL configuration, needs to have a solid base of relevant knowledge and past experience. Experience can be ...
3
votes
Accepted
Secure site for members
Create a login module and set the viewing access level to 'guests'.
Link here docs.joomla.org/J3.x:Access_Control_List_Tutorial
3
votes
Accepted
Getting a blank page after logging into administration on non-SU account
Obviously it is something wrong with your ACL.
Usually it's hard to give a reply with the actual solution in such questions with the first try, as ACL needs a hands-on investigation, or otherwise ...
3
votes
Accepted
Advanced Module Manager Permissions Issue: "Error - You are not authorized to view this resource"
I tested to see how Advanced Module Manager works on a clean Joomla installation and I couldn't replicate the issue.
After messing around a bit more, I discovered that my issue was connected with the ...
2
votes
Accepted
How to correctly save and understand ACL rules when creating categories from PHP
The rules column in the assets table define the custom rules for each item individually.
The default value of the field would be:
{"core.create":[],"core.delete":[],"core.edit":[],"core.edit.state":[...
2
votes
Restrict front-end component access
@Craig answer is very good, but JERROR will deprecate in Joomla 4.0. You can use the code below instead, when wou want to notify the UI.
\Joomla\CMS\Factory::getApplication()->enqueueMessage($msg, ...
2
votes
Accepted
Logged in user details, profile, message notification display using access level category
You should have a read through the docs there are lots of useful tips there, maybe the following is what you need?
To get this object for the current user, use the following member function of ...
2
votes
Menu Module not appearing/working with ACL
If you haven't mess with anything deeper and assuming it is a casual joomla installation with your ACL additions, then it is definitely something you have not done right or ignoring in setting up your ...
2
votes
Making Virtuemart product detail page accessible to public user
I haven't built a VirtueMart site in a while but, the short answer is to make VirtueMart available to "public" and require registration before anything can be purchased. Again, working from memory, ...
2
votes
How to set ACL for K2 items Categories in backend
To my knowledge, K2 v2.x does not support permissions for categories. Also, I don't think ACL Manager will be much of help here.
For full ACL implementation of the Joomla core into K2, you should wait ...
2
votes
Remove elements from Joomla control panel admin menu
First of all, avoid giving Super User access to users that you can't trust. Super User has the higher privileges and can do anything on the site.
See if by making the user a simple Administrator will ...
2
votes
define custom permissions in J3.5.x
The underscores in permission names is indeed the problem. Fortunately, others have run into this issue and there is a patch already submitted that should be included in 3.5.2. Details here: https://...
2
votes
Access Levels Explanation Joomla 3
please visit Access Control List Tutorial for access level explanations with examples.
https://docs.joomla.org/J3.x:Access_Control_List_Tutorial
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
acl × 80joomla-3.x × 29
administrator × 9
user-groups × 9
permissions × 7
user × 6
component × 5
administration × 5
access × 5
custom-component × 4
login × 4
joomla-user-groups × 4
module × 3
articles × 3
joomla-api × 3
menu-item × 3
k2 × 3
joomla-3.9 × 3
configuration × 3
profile × 3
super-user × 3
joomla-2.5 × 2
plugin × 2
development × 2
joomla-3.4 × 2