Keyword

Hide Category based on User assignment

  • siamnaulak
  • siamnaulak's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 4 months ago - 6 years 4 months ago #165531 by siamnaulak
Hide Category based on User assignment was created by siamnaulak
Hi,

Is there a way to hide Categories where the user is NOT assigned?

For example... I have 2 categories, namely: Category A and Category B. I assigned Category A to User A (as an admin). So, when User A logged in I want to hide Category B and just show Category A which is assigned to him. Is this possible?

Thanks
Last edit: 6 years 4 months ago by siamnaulak.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 4 months ago #165549 by Krikor Boghossian
Replied by Krikor Boghossian on topic Hide Category based on User assignment
Hello,

You can change the menu's and category's access level, but it won't work for Super Users.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • siamnaulak
  • siamnaulak's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 4 months ago #165565 by siamnaulak
Replied by siamnaulak on topic Hide Category based on User assignment
Hi Krikor,

Can you please elaborate a bit more?

[Let me correct my question] My question is ONLY for admin, both the categories will be visible to all public/registered user.

Regards

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 4 months ago #165570 by Krikor Boghossian
Replied by Krikor Boghossian on topic Hide Category based on User assignment
By default Super Users will see all of the content, so the restriction will not apply to these users (which is also the logical thing).
For the rest of the users, you can setup new Joomla! user groups and restrict access to the categories you want.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • siamnaulak
  • siamnaulak's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 4 months ago #165685 by siamnaulak
Replied by siamnaulak on topic Hide Category based on User assignment
Hi Krikor,

I set up two user group in K2 and called "Group 1" and "Group 2". I assigned Category A to Group 1 and Category B to Group 2. Next I create a new user called "User 1" and assigned to K2 user group "Group 1". But when I logged in as User 1 and when I try to post a new item I can still see Category B.

What I would like to have is when I logged as User 1, I should be able to see only Category A (and can post only to this category)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 4 months ago #165712 by Krikor Boghossian
Replied by Krikor Boghossian on topic Hide Category based on User assignment
Use Joomla!" ACL and control the menu items, K2 User Groups do not offer this functionality.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • siamnaulak
  • siamnaulak's Avatar Topic Author
  • Offline
  • Senior Member
More
6 years 4 months ago #165763 by siamnaulak
Replied by siamnaulak on topic Hide Category based on User assignment
Thanks Krikor, it will be really nice if K2 support this :)

By the way, I want to control K2 categories (based on K2 user group), not menu items.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 4 months ago #165937 by Krikor Boghossian
Replied by Krikor Boghossian on topic Hide Category based on User assignment
Sorry for the late reply.
That would require a custom extension. If you have the budget that is what I would recommend.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • siamnaulak
  • siamnaulak's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 6 months ago #169732 by siamnaulak
Replied by siamnaulak on topic Hide Category based on User assignment

Krikor Boghossian wrote: Sorry for the late reply.
That would require a custom extension. If you have the budget that is what I would recommend.


Will you be able to help if I want the custom extension? If so, can I PM you?

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

More
5 years 6 months ago #169766 by JoomlaWorks
Replied by JoomlaWorks on topic Hide Category based on User assignment
That's not really possible in an easy way. I would highly recommend you simply configure frontend editing in K2. It'll be much easier to control that way and yes, you can have user groups assigned to different categories there. With Joomla's ACL in the backend, it's a nightmare to configure.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum