By Ryan Sullivan on Monday, 08 August 2016
Posted in Technical Issues
Replies 3
Likes 0
Views 362
Votes 0
I have over 700 categories and over 150 users and groups. I am wanting to quickly verify all categories permissions is there a quick way to do this without having to go to each category and check the permissions??? I have DB access so I can check that if necessary...
Hi Ryan,
If you just want to look at category permissions without clicking the categories in the backend you can do so by using SQL queries in your database.

However, before you build the queries, you need to know what data you want to retrieve out of the database tables. If you want us to draft a query for you, can you perhaps give me a brief overview on how you would like to look at your category permissions?

For example:
By referring to the screenshot, can you tell me whether most of your categories utilizes the "Assigned Joomla User Group" privacy setting? If that is so, then would you want to just view categories under that privacy setting and review the user groups permissions from there?
Let us know how do you want to verify your category data so we can provide a draft query that could achieve this. Thanks.
·
Monday, 08 August 2016 16:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes all categories utilize the "Assigned Joomla User Group" So I would like to see each category and which user group has edit permissions.
·
Monday, 15 August 2016 22:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Ryan,

You can try following SQL and see how it goes.


// remember replace jos_ to your table prefix

select z.category_id, a.title, c.title from `jos_easyblog_category_acl` as z
inner join `jos_easyblog_category` as a on z.category_id = a.id
inner join `jos_usergroups` as c on z.content_id = c.id
inner join `jos_easyblog_category_acl_item` as d on z.acl_id = d.id
where z.acl_id = 2 order by z.category_id desc;
·
Monday, 15 August 2016 23:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post