XF 1.5 Users cannot edit their own posts

AliS

Member
Hello All,

I am facing a small issue. Users cannot edit their own posts, although I have set the permissions to "Allow".

Analyze permissions results:

Forum Permissions

Edit post by self: Yes
Time limit on editing/deleting own posts (minutes): Unlimited

Where is the problem?
 
He did that, but having the whole result would be helpful.

@AliS, would you provide an Analyze Permissions result screenshot for everything? There may be something in another permission causing problems.
 
He did that, but having the whole result would be helpful.

@AliS, would you provide an Analyze Permissions result screenshot for everything? There may be something in another permission causing problems.

Global permissions:
View node:
Yes (Details)
Forum Permissions
View threads by others:
Yes (Details)
View thread content:
Yes (Details)
Like posts:
Yes (Details)
Post new thread:
Yes (Details)
Post replies:
Yes (Details)
Post replies to own threads:
Yes (Details)
Post replies to other's threads:
Yes (Details)
Edit post by self:
Yes (Details)
Delete post by self:
No (Details)
Time limit on editing/deleting own posts (minutes):
Unlimited (Details)
Edit thread title by self (requires edit own post):
Yes (Details)
Delete thread by self:
No (Details)
View attachments to posts:
Yes (Details)
Upload attachments to posts:
Yes (Details)
Tag thread by self:
Yes (Details)
Tag thread by anyone:
No (Details)
Manage tags by others in own thread:
No (Details)
Vote on polls:
Yes (Details)
Forum Moderator Permissions
Stick / unstick thread:
No (Details)
Lock / unlock threads:
No (Details)
Manage (move, merge, etc.) thread by anyone:
No (Details)
Delete thread by anyone:
No (Details)
Hard-delete thread by anyone:
No (Details)
Ban users from replying to a thread:
No (Details)
Edit post by anyone:
No (Details)
Delete post by anyone:
No (Details)
Hard-delete post by anyone:
No (Details)
Give warnings on posts:
No (Details)
Manage tags by anyone:
No (Details)
View deleted threads / posts:
No (Details)
View moderated threads / posts:
No (Details)
Undelete threads / posts:
No (Details)
Approve / unapprove threads / posts:
No (Details)
[bd] Paygates: Access All Resource Discussions:
No (Details)
Post Ratings
View rating lists:
No (Details)
Rate posts:
Yes (Details)
Delete other users' ratings/likes:
No (Details)

Node permissions:

View node:
Yes (Details)
Forum Permissions
View threads by others:
Yes (Details)
View thread content:
Yes (Details)
Like posts:
Yes (Details)
Post new thread:
Yes (Details)
Post replies:
Yes (Details)
Post replies to own threads:
Yes (Details)
Post replies to other's threads:
Yes (Details)
Edit post by self:
Yes (Details)
Delete post by self:
No (Details)
Time limit on editing/deleting own posts (minutes):
Unlimited (Details)
Edit thread title by self (requires edit own post):
Yes (Details)
Delete thread by self:
No (Details)
View attachments to posts:
Yes (Details)
Upload attachments to posts:
Yes (Details)
Tag thread by self:
Yes (Details)
Tag thread by anyone:
No (Details)
Manage tags by others in own thread:
No (Details)
Vote on polls:
Yes (Details)
Forum Moderator Permissions
Stick / unstick thread:
No (Details)
Lock / unlock threads:
No (Details)
Manage (move, merge, etc.) thread by anyone:
No (Details)
Delete thread by anyone:
No (Details)
Hard-delete thread by anyone:
No (Details)
Ban users from replying to a thread:
No (Details)
Edit post by anyone:
No (Details)
Delete post by anyone:
No (Details)
Hard-delete post by anyone:
No (Details)
Give warnings on posts:
No (Details)
Manage tags by anyone:
No (Details)
View deleted threads / posts:
No (Details)
View moderated threads / posts:
No (Details)
Undelete threads / posts:
No (Details)
Approve / unapprove threads / posts:
No (Details)
[bd] Paygates: Access All Resource Discussions:
No (Details)
Post Ratings
View rating lists:
No (Details)
Rate posts:
Yes (Details)
Delete other users' ratings/likes:
No (Details)
 
We need to see the (Details) for these two.

Edit post by self:
Yes (Details)

Time limit on editing/deleting own posts (minutes):
Unlimited (Details)
 
We need to see the (Details) for these two.

Edit post by self:
Yes (Details)

Time limit on editing/deleting own posts (minutes):
Unlimited (Details)

Forum Permissions - Edit post by self
Global Permission Values
Registered: Allow
Final Value (Global): Yes

Forum Permissions - Time limit on editing/deleting own posts (minutes)
Global Permission Values
Registered: Unlimited
Final Value (Global): Unlimited
 
Go to <url>/install/ and rebuild the master data. Does that resolve the issue? If so, then an add-on has broken permission calculation updates at some point. If it doesn't resolve it, then it's possible there could be another add-on at play. I would recommend confirming with all add-ons disabled and on the default style.
 
Go to <url>/install/ and rebuild the master data. Does that resolve the issue? If so, then an add-on has broken permission calculation updates at some point. If it doesn't resolve it, then it's possible there could be another add-on at play. I would recommend confirming with all add-ons disabled and on the default style.

Unfortunately, did not work.
Really a strange issue. I have disabled all add-ons but still the same problem.
Moderators and administrators can edit the post post, while normal users cannot.

I think I will need to manage the problem myself.
Thank you.
 
I'm seeing the same issue. Thought it might be an issue with my theme, but I selectedf the XF default theme and am not seeing an option to delete my own posts when testing with a regular member account. Settings are as follows:

Delete post by self:
Yes (Details)
Forum Permissions - Delete post by self
Global Permission Values
Member / Subscriber: Allow
User Value: Allow
Final Value (Global): Yes
Time limit on editing/deleting own posts (minutes):
Unlimited (Details)
Forum Permissions - Time limit on editing/deleting own posts (minutes)
Global Permission Values
Member / Subscriber: Unlimited
Final Value (Global): Unlimited

Any help would be appreciated.

Thanks!
 
There are a couple other things that come into play with post deletion:
  • If it's the first post in the thread, it would delete the whole thread so it requires that permission.
  • If the thread is closed, the post won't be deletable.
  • If the forum is closed for posting, the post won't be deletable.
Otherwise, it uses the "standard" permissions you listed.

If that doesn't cover it, try disabling add-ons. If it still doesn't work, go to <url>/install/ and trigger a master data rebuild. Has that solved it?
 
Hey Mike,

Understand the three points you called out, but this is an open thread and not the thread starting post so it doesn't apply. I'll try the addon suggestion, followed by the rebuild if it doesn't work.

Thank you for the suggestion. I'll reply here either way for future reference.
 
So as it turns out, was some sort of advanced caching at the server level that prevented the changes to privileges from being immediately reflected on the front end. Also, further complicating things is that when analyzing permissions via the XF admin, it doesn't seem to show the edit / delete features. I'm unsure if this is an issue with the custom theme we created, but I suspect not as it appears the same in the stock them when I check there also. Anyhow, at least we got it working.

Thanks for the assistance.
 
There are a couple other things that come into play with post deletion:
  • If it's the first post in the thread, it would delete the whole thread so it requires that permission.
  • If the thread is closed, the post won't be deletable.
  • If the forum is closed for posting, the post won't be deletable.
Otherwise, it uses the "standard" permissions you listed.

If that doesn't cover it, try disabling add-ons. If it still doesn't work, go to <url>/install/ and trigger a master data rebuild. Has that solved it?
Hi,
is there a way to make it possible for Users to delete their own posts in closed threads?
Thank you
 
Top Bottom