[geeklog-devel] inserting a record into "storysubmission" table in story.php
Dirk Haun
dirk at haun-online.de
Sun Mar 21 17:18:04 EDT 2010
Srishti Roy wrote:
>Thank you Dirk. Just one more ques: How does a user without srory admin
>rights create a new story?
>
>Just wanted to confirm: Only in the above case, the story will go for
>moderation and will be seen in submissions link for an admin. Isn't it?
It all depends on this:
if (($_CONF['storysubmission'] == 1) && !SEC_hasRights('story.submit')) {
So if the story submission queue is enabled and the current user does
not have story.submit permissions, then the story goes into the
submission queue. Otherwise, it's published.
bye, Dirk
--
http://www.geeklog.net/
http://geeklog.info/
More information about the geeklog-devel
mailing list