×
Kunena 5.1.7 Released - Security Release (20 Nov 2018)

The Kunena team has announce the arrival of Kunena 5.1.7 [K 5.1.7] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question Trying to write a report that shows users' access levels

More
5 years 7 months ago #1 by perryworld
Hi,

We are trying to write a report based on users access levels and category access levels.

As an example if our user has been set up as with access levels of registered and "female" and we also have a category that has been set up with an access level of "male" then within the forum it works fine and the "female" cannot see the "male" category.
We can see how the user is set up as being access level "male" but in which table(s) does the access level for the category appear.
The report should only show the categories the user has access too.

Many Thanks
Richard

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #2 by Matias
This is something we're actually planned to implement for Kunena: to have a filter in the backend that allows you to filter cagetories by access. Currently it's only working for access levels, but as it seems to be enough for you, please try out our latest RC.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #3 by perryworld
Hi Matias,

Thanks for the quick reply.

What we are trying to do is create a report showing our users and which topics they have access too. As an example, we have a topic that has been given an access level of "male" only and several "male" users who have their access level set to "male".

This filters perfectly within Kunena but in our report we need to identify "male" users which we can do via the user/usergroups tables but how do we identify the access level for the "male" topic - which MySql tables would help us identify this.

Thanks
Richard

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #4 by perryworld
Hi,

Do you know how it decides if the user can see a topic or not via the access rules?
Which file would it be doing the checking in.

Thanks
Richard

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #5 by perryworld
Hi,

Any suggestions would really be appreciated.

Cheers
Richard

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #6 by perryworld
Hi Matias,

We are using JoomlaXi to allow us to create access rules like Male/Female etc.
When we set a topic to have an access level of male in the back-end it does allow males to access the topic and stops females seeing it.
Would you know in which file this check takes place so we can investigate further.

Any help, much appreciated.

Thanks
Richard

Please Log in or Create an account to join the conversation.

  • sozzled
  • Visitor
4 years 10 months ago #7 by sozzled
Did you ever find a way to resolve this question?

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #8 by perryworld
Hi Sozzled,

We ended up writing our own inquiry to access the usergroup table for "Male" then accessed the users table to find all the "Male" users then from there we can go to the kunena_messages based on each of the user ids.

Does that help at all

Cheers
Rich

Please Log in or Create an account to join the conversation.

  • sozzled
  • Visitor
4 years 10 months ago - 4 years 9 months ago #9 by sozzled
Perhaps other people may be interested in the solution that you developed. I would be interested in the solution that you developed! Are you able to share the details of your solution with the community?
Last edit: 4 years 9 months ago by sozzled.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.126 seconds