Keyword

[SOLVED] Different permissions per category

  • Manos Krokos
  • Manos Krokos's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 2 months ago #130526 by Manos Krokos
[SOLVED] Different permissions per category was created by Manos Krokos
Hello, I have created one new K2 User group ("Registered") and two blog categories, one is called "News" and the other one "Members blog"

I would like ALL "Registered" users to be able to add items, edit own items, post comments to the category "Members blog" but also be able to ONLY post comments in the category "News".

From the User Groups page I can see that the permissions for a User Group can only be assigned to one category... Is that normal? Not very flexible, really.

Anything I am missing here?

Kind regards,
Manos K

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130527 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: Different permissions per category
Hi,

you can assign group permissions to different categories (in "user group > Assign group permissions to these categories > Select from list).

Regards

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

  • Manos Krokos
  • Manos Krokos's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 2 months ago #130528 by Manos Krokos
Replied by Manos Krokos on topic Re: Different permissions per category

franz.wohlkoenig wrote: Hi,

you can assign group permissions to different categories (in "user group > Assign group permissions to these categories > Select from list).

Regards


Hello, probably I wasn't too clear. I have one User Group and two different categories. I need different permissions for each category (ie, Registered user should be able to add items AND comments to one category but only post comments to the other)

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130529 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: Different permissions per category
Hi,

maybe i wasn't clear enough*g: My Answer references on "From the User Groups page I can see that the permissions for a User Group can only be assigned to one category... Is that normal? Not very flexible, really." On this Topic i could say somenthing.

Regards

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

  • Manos Krokos
  • Manos Krokos's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 2 months ago #130530 by Manos Krokos
Replied by Manos Krokos on topic Re: Different permissions per category

franz.wohlkoenig wrote: Hi,

maybe i wasn't clear enough*g: My Answer references on "From the User Groups page I can see that the permissions for a User Group can only be assigned to one category... Is that normal? Not very flexible, really." On this Topic i could say somenthing.

Regards


Yes, you are right! What I meant is that I can't have different permissions for different categories for any selected K2 User Group. Ie, allow commenting on one category but allow both commenting AND adding items in another.

;)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130531 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Different permissions per category
You will have to wait until v3.0 is ready.
The next major release will have different permissions per category.

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

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

  • Manos Krokos
  • Manos Krokos's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 2 months ago #130532 by Manos Krokos
Replied by Manos Krokos on topic Re: Different permissions per category

Krikor Boghossian wrote: You will have to wait until v3.0 is ready.
The next major release will have different permissions per category.


well, from what I understand the v3.0 is not going to be launched before September or later. I guess that the only other solution is JQuery and enabling/disabling options, right?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130533 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Different permissions per category
You can implement these options (at the contact form) in your template.
You can query the db, get the user's group and show or hide the comment form.

The other options can be handled I think from K2's User Groups.

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

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

  • Manos Krokos
  • Manos Krokos's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 2 months ago #130534 by Manos Krokos
Replied by Manos Krokos on topic Re: Different permissions per category

Krikor Boghossian wrote: You can implement these options (at the contact form) in your template.
You can query the db, get the user's group and show or hide the comment form.

The other options can be handled I think from K2's User Groups.


Since there is only one category that Registered users are allowed to add new items (while they can comment to this and others as well), what I did is hide the select category options completely and pass the catid in a hidden option. Ugly but works... untill v3.0 is out!

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


Powered by Kunena Forum