Keyword

K2 viewing access level issue

  • Zane Jacobson
  • Zane Jacobson's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #166438 by Zane Jacobson
K2 viewing access level issue was created by Zane Jacobson
Joomla 3 + K2 2.6.7... not the latest but I'm on a stable site and can't accept the risk of running upgrades at present.

I'm trying to protect viewing access to a particular K2 item so that a client can review it.

I'd like the article to be not viewable by the public, but when the client logs in, they can view it.

Here's what I've done:

1. Created a new group under Registered > Partners > ClientName
2. Created a new Access Level called ClientName, and add groups ClientName and Super Users.

I've gone and assigned the K2 item's viewing access level to ClientName.

When I go to the category list of items, this particular item doesn't show at all for me (Super User) nor the client user (whom I did add to the ClientName group.)

If I change the K2 item back to Special, I can see it as Super User.

What have I done wrong? This seems straightforward but it just doesn't work.

Some things:

K2 category listing is a menu item with access level Public. Registered > Partners > ClientName is under the umbrella of Public though.
Do K2 user groups factor into this at all? It seems they don't.

Thanks.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 2 months ago #166455 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 viewing access level issue
Hello Zane,

This is a really outdated version and several years old. It is good to hear that it still works with recent versions of Joomla! but issues like this have been resolved in recent versions.
Did you add two usergroups as "ClientName" ?
Can you share a screenshot of your settings?

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

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

  • Zane Jacobson
  • Zane Jacobson's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #166462 by Zane Jacobson
Replied by Zane Jacobson on topic K2 viewing access level issue

Krikor wrote: Hello Zane,

This is a really outdated version and several years old. It is good to hear that it still works with recent versions of Joomla! but issues like this have been resolved in recent versions.
Did you add two usergroups as "ClientName" ?
Can you share a screenshot of your settings?


It's running on Joomla 3.1.5, so not exactly a recent version of Joomla either.

Was this a documented bug? Or should K2 be expected to obey Joomla ACL?

I only added one user group in Joomla called ClientName, and one access level called ClientName which includles the ClientName user group.

As an experiment I also made a K2 user group called Clientname, but there doesn't seem to be any way to apply it to a specific article item. Only the Joomla ACL are shown for viewing.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 2 months ago #166475 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 viewing access level issue
K2 2.6.7 was release 4.5 years ago and so was Joomla!.
I am not sure that I can assist with such obsolete software.

I would suggest creating new groups under the "Registered" group.

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

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

  • Zane Jacobson
  • Zane Jacobson's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #166490 by Zane Jacobson
Replied by Zane Jacobson on topic K2 viewing access level issue

Krikor wrote: K2 2.6.7 was release 4.5 years ago and so was Joomla!.
I am not sure that I can assist with such obsolete software.

I would suggest creating new groups under the "Registered" group.


Turns out, it works as advertised. I had added the new groups as children of Registered, but the client user was only a member of the child groups, and NOT Registered. This is what caused the issue. However it's written, not being a member of the parent group prevents viewing access.

Are you the author of K2?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 2 months ago #166694 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 viewing access level issue
Hello Zane,
I am a part of the team, yes.

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