Print Page | Close Window

Permission Denied!!

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21790
Printed Date: 08 April 2026 at 5:54pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Permission Denied!!
Posted By: yourbudweiser
Subject: Permission Denied!!
Date Posted: 30 October 2006 at 4:29pm
I haave a moderator who is trying to edit a post. The edit_post_form.asp page appears but instead of displaying the message, the words "Permission Denied!!" appears. The phrase comes from RTE-textarea.asp and the line that causes the error is:

'If this is an edit or quote then stripout who edited the post and check permisisons
If strMode = "edit" OR strMode="editTopic" OR strMode = "quote" Then
   
    'Call teh forum permissions function
    Call forumPermissions(intForumID, intGroupID)
   
    'If the user dosn't have permisison to view/edit/post/etc. then don't let them read the post
    If (strMode = "edit" OR strMode="editTopic") AND (blnAdmin = False AND blnModerator = False) Then
       
        If blnRead = False OR blnEdit = False Then strMessage = "Permission Denied!!"
   
    ElseIf strMode = "quote" Then
       
        If blnRead = False OR blnReply = False Then strMessage = "Permission Denied!!"
   
    End If
       
End If

In this case, strMode = editTopic and blnModerator = True.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 30 October 2006 at 4:33pm
It sounds like moderator permissions for this user have not been correctly set for that forum.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: yourbudweiser
Date Posted: 30 October 2006 at 5:17pm
Thanks Borg, when I test the values that the code is looking for, strMode = editTopic and blnModerator = True so Permission Denied error should not appear. The Moderator group permission settings are set to allow them to edit posts and Forum Moderator is also checked for this user.


Posted By: WebWiz-Bruce
Date Posted: 30 October 2006 at 5:34pm
If permissions are set correctly then you may have a corrupted file, try reuploading the files again and see if that solves the problem, if not go back to your permissions setup as it would seem there is something not set correctly somewhere along the line.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: yourbudweiser
Date Posted: 30 October 2006 at 7:11pm
Permissions are set correctly because it works on all computers except the boss's. What could possibly prevent a moderator from editing a post on one computer but not on any other computers? He is accepting cookies and is able to do other functions as well.

I even gave him my logon as Admin and he still receives Permission Denied!!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net