Authenticated User Cannot Edit Own Posts

typehost - June 25, 2008 - 19:07
Project:Drigg
Version:5.x-1.33
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am submitting this as a support request, I've been over the settings quite a few times, but I have a situation where an authenticated user is posting drigg content types to the site, but returns to the page and cannot edit them - no edit tab is showing.

Drigg 5.x 1.33

Settings:

access control (authenticated user):
edit own drigg stories: yes
edit own promoted drigg stories: yes
submit drigg stories: yes

drigg general:
How many hours entries are able to be edited by submitters (set to 0 for indefinite): * 0
How many hours entries stay in the "upcoming" queue: * 24

content types - drigg:
workflow:
published - yes
promoted to front page: no

#1

mercmobily - June 25, 2008 - 22:54

Hi,

I've just spent 1 hour trying to reproduce this -- unsuccessfully.
I looked at the code, and configured it exactly how you said... I have frankly no idea what this could be.

I will be able to look into this in 11 days, when I am back from my upcoming internet blackout (going to Nicaragua).

Sorry...

In the meantime, maybe see if it's a caching issue, by trying to access the "edit" link directly.

Merc.

#2

typehost - June 26, 2008 - 10:22

Edit leads to: "Access denied. You are not authorized to access this page."

#3

mercmobily - June 28, 2008 - 20:34

Hi,

When I get back, in 11 days, please make available a working DB with this problem, with an _exact list of actions to reproduce it.
Please make absolutely dead sure it isn´t anything silly, because if it is I will waste _considerable_ amount of time on a non-problem.

Merc.

#4

typehost - June 30, 2008 - 22:28

I will attach screenshots of my configuration settings here. If anyone wants to test the site, they can contact me via email.

AttachmentSize
screnshot1.jpg 85.31 KB
screenshot2.jpg 23.51 KB

#5

mercmobily - July 8, 2008 - 15:13

Hi,

I am back.
Are you able to give me full access to this box?
That includes:

* ssh access
* db access
* drupal acess

Since I cannot reproduce this problem, this is the only way for me to fix it. Alternatively, you could send me an email with your full Drupal tree and db, but that would be a lot more of an hassle.

Finally... you are using the latest version of everything, right?

Merc.

#6

mercmobily - July 9, 2008 - 04:21
Status:active» fixed

Hi,

The problem was that in your Drigg configuration (/admin/settings/drigg) you forced the input format to "Full HTML" (which is really, really bad). The trouble is, your users do NOT have access to that input format: (/adhttp://drupal.org/node/274923min/settings/filters ). Drupal is refusing editing to the entries because they are in an input format they do not have the right to use.

I have fixed the input format entries are set to (Filtered HTML). However, EXISTING entries won't be editable unless you manually change their formats. Please don't ask me how: please refer to the Drupal forums, or study Drupal-related documentation.

Incidentally,I noticed that you installed extra modules in '/modules'. This is bad form, and it will make upgrading your Drupal a nightmare.

I spent about 2 hours on this. This was obviously a per-user problem.

In these two hours I could have done a lot of things. I could have edited John Calcote's book. I could have looked after Free Software Magazine. Or, I could have earned $160.

Please give me your email address so that i can send you an invoice. I don't expect payment, since you didn't expect to pay. However, it will be a good reminder for me next time I ask for a user's login/pass/etc. -- a reminder that it will most likely cost me money, and that the user should agree on paying IF the result is simply per-user help. Please don't take it personally.

This be a warning to other less seasoned Drupal developers as well.

Merc.

#7

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.