Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

No Access Control for CB Actions (System - Kunena Create)

  • Bricoleur
  • Bricoleur
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
9 years 1 week ago #272589 by Bricoleur
There does not appear to be a way to create an access restriction when creating a system action involving Kunena.

An attempt to change Access from "everybody" to a custom group will not work as only "Save as" action is allowed (not "Save").
The resuting copy is relegated to "auto action" which does not appear to trigger correctly when a new kunena topic is created.

The net result appears to be that restricting display of creating discussion items to those generated within the user's custom group is not possible - all new created discussion items are displayed if the system action approach is followed/. Following the link of what is an "undesired display" results in the expected error message on Kunena side that access is not authorized - but the damage is done with the information already public in the activity display.

Am I missing something? Or, if not, can you suggest a work around?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 6 days ago - 9 years 6 days ago #272626 by krileon
You can't edit System Actions. It will save a copy to Auto Actions. You can then unpublish the System Action and edit your copy all you like. Copied actions are unpublished by default so you'll need to publish it before it'll function.

There is no access checks on activity at this time. Eventually CB Forums will parse its own activity like the next GJ release will be doing, but for now you may want to limit what information it displays as it's stored static in the activity database.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 6 days ago by krileon.
The following user(s) said Thank You: Bricoleur

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

  • Bricoleur
  • Bricoleur
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
9 years 6 days ago - 9 years 6 days ago #272636 by Bricoleur
I was able to achieve part of my objective by setting the length of the description to zero (0)in the CB Activity - Auto Action Kunena in this way:

[cb:parse function="extract" length="0"]in the links section of the Action tab.

Confidentiality is thus maintained as there is no content for anyone to see - everyone can see the subject as it is still displayed (and if someone without the right access level clicks through they get the appropriate "not authorized" message).

I would like to minimize the frustration of unauthorized click through however and I think that it might help if I can somehow add to the title field so it contain not just the message subject but also the Kunena category along the lines of:

[var3_message_subject] in Category [var?_?Category?]


But I guessed and tried to no avail ... ideas?
Last edit: 9 years 6 days ago by Bricoleur.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 5 days ago #272646 by krileon
The trigger fired by Kunena does not contain the category name. It only contains the category id so you won't be able to include that. Eventually when CB Forums has its own activity parsing it'll display much better, but for now the static stored activity is limited in what it can do.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: Bricoleur

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

Moderators: beatnantkrileon
Powered by Kunena Forum