Tikiwiki > Blogs > post 작성시 "Permission denied you cannot post" 메시지 대응 :: 2009/07/30 18:26

When I created a Blog and clickt the "post" under Blogs in Menu, I got the message "Permission denied you cannot post"

So, I change the auth chech logic "tiki-blog_post.php" line 54,

from

if (!($tiki_p_blog_admin == 'y' || (!empty($blogId) && $tiki_p_blog_post == 'y') || (!empty($blogId) && $blog_data['public']== 'y' && $tikilib->user_has_perm_on_object($user, $blogId, 'blog', 'tiki_p_blog_post', 'tiki_p_edit_categorized')))) {

to
if (!($tiki_p_blog_admin == 'y' || (!empty($blogId) && $tiki_p_blog_post == 'y') || !(empty($blogId) && $blog_data['public']== 'y' && $tikilib->user_has_perm_on_object($user, $blogId, 'blog', 'tiki_p_blog_post', 'tiki_p_edit_categorized')))) {




it's works!
이올린에 북마크하기(0) 이올린에 추천하기(0)

2009/07/30 18:26 2009/07/30 18:26
Trackback Address :: http://www.foxwolf.net/gihun/trackback/44
↓↓↓ 거침없이 의견 남겨 주세요! ↓↓↓
[로그인][오픈아이디란?]
Name
Password
Homepage

Secret
< PREV |  1  |  ...  10  |  11  |  12  |  13  |  14  |  15  |  16  |  17  |  18  |  ...  39  |  NEXT >