Hello, I'm using Zikula 1.2 and News 2.4.1 for the announcements section of a church website that I am currently setting up. This is my first day using Zikula and I'm having some trouble with the permissions. I've been poking around for the past couple hours but can't seem to figure this out.
I would like to configure my permissions so that certain users can log in and post news announcements without having to go through the workflow process of having a site admin approve it, and also have full access to edit and remove other people's announcements. I made a new user group named News Admins. I went to the Permission Rule List and created a new rule:
Group: News Admins
Component: News::
Instance: .*
Permission Level: Admin Access
I then edited my test user account to join it to the News Admins group. However, when testing it out I still cannot directly submit news articles, and when I try to go to index.php?module=News&type=admin, it says that I have not been granted access.
It is probably something simple with the rule that I am missing, since I'm a bit of a newbie and not entirely sure what all that means. I've read around and tried a couple things but none of it works. Could someone please advise me on how I can accomplish this?
Also, I noticed on the download page for the News module that it says it is "obsolete", is there a better module to accomplish something like this?
Thanks in advance!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
News module user permissions
-
- Rank: Registered User
- Registered: Dec 28, 2009
- Last visit: Dec 30, 2009
- Posts: 6
-
- Rank: Registered User
- Registered: Dec 28, 2009
- Last visit: Dec 30, 2009
- Posts: 6
EDIT: Found where allowed HTML was under Security Settings and fixed the formatting issues. I could still use help with permissions though.
On a semi-related note, I'm using scribite! with News, as recommended. But it looks like when I actually go to read the news articles, the HTML for font color and stuff is not being parsed. Instead it just shows the formatting code with the text of the news article. I've tried each of the editors and they all produce the same problem. So I think it is something to do with my configuration of the News module or something else on my site.
edited by: zaggeh, datetimebrief -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
Hello and welcome to Zikula!
You have the right and current version of News. 2.4.1 is the most recent version. 2.5 is coming (soon?) but for now, you have the right version. I don't know why that says obsolete...
not sure why your perms aren't working like you wish. I assume you've already read this page, but you might want to check it over again. Someone smarter than me (mateo, Teb, etc) will be able to help if that doesn't.
You color issue is very likely related to your theme. your theme CSS is probably overwriting whatever colors are being generated by scribite. You can try viewing that page in another theme by adding theme= to the end of the URL to see if that is actually the problem - e.g. index.php?module=News&theme=Andreas08
let us know how else we can help. -
- Rank: Registered User
- Registered: Dec 28, 2009
- Last visit: Dec 30, 2009
- Posts: 6
Thank you for your response.
After much poking around, I finally discovered that the component name for the News module is Stories:: not News::. This is being changed for the News 2.5 release I think. All this confusion could have been avoided if I had checked the list of components. The Permissions document you provided me states: "It is important to note at this point that a list is provided of all the available components and instances. It can be accessed by clicking the Component link in the column header of the permissions table.", However, I did not realize at the time that it was referring to that big red question mark. So, problem solved for now.
As for the color formatting issue, that was just an issue with the font and span HTML tags being disallowed and is resolved now.
Thanks again.
edited by: zaggeh, datetimebrief -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Hi
News 2.4.1. uses indeed still the old style permissions Stories::Story for the Component.
This is indeed changing in News 2.5 (among other things
), we finally changed it into the more logical News:: (Permission rules will be converted by the upgrade BTW). News 2.5 will be Zikula >= 1.2 only, since it will be gettext based. It was undoable to maintain both version (lang defines and gettext) while developing.
In News 2.5 there will be a introductory article with a new News install, which explains some of these things with links to the HTML setttings for instance, since that is a common issue
Glad you got it working, good luck.
I see that the curious Obsolete status is gone now, whoever did it, thanks
edited by: espaan, datetimebrief
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Registered User
- Registered: Dec 28, 2009
- Last visit: Dec 30, 2009
- Posts: 6
Thank you for your reply. I'm really enjoying News and think it is a wonderful module.
About the Obsolete status issue... In the top portion of the module information page (http://community.zikula.org/module-Extensions-display-ot-component-componentid-29.htm), it does indeed say Status: Normal. However, if you scroll down to the grey box with information about News 2.4.1, it says Status: Obsolete there. -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
- Moderated by:
- Support
