I created a new format called "Comment Format" this format I made the default for all users under the List of input formats, so that all roles have permission to use this now. I wanted to assign this input format to the authenticated user as the default input format under 'Comment defaults' but an error shows up that says "Role does not have access to selected format." They should have access since they have permission to use it. Possible bug because I picked a my new input format as the default (under List) instead of the filtered html? Please see screen-shot.

Comments

dragonwize’s picture

Title: Authenticated user has no permission to use a custom default format for 'Comment defaults' » No permission to use site default format when specific fomat is selected
Component: Documentation » Code

This is an existing issue I know about but haven't got around to fixing yet. Mainly because if that format is your site default format, you can select site default instead of the format and it will work as you intend.

I'll leave this active so others can see it until I get around to it.

dragonwize’s picture

Status: Active » Fixed
hadsie’s picture

Version: 6.x-1.1-rc2 » 6.x-1.1
Status: Fixed » Needs review
StatusFileSize
new629 bytes

I'm not sure if a fix ever went in for this, but I just ran into the same problem on my site for 6.x-1.1. Here's a patch that fixes the issue by checking if both anon and auth users have access to the format. If both those roles have access then all roles should have access. In fact, if the authenticated role has access then all other roles (except anon) would have access too, so maybe this patch could be changed slightly.

hadsie’s picture

After a bit more testing it seems that won't actually work in all cases, only in the case that the issue is with the default format. Here's a patch that's more comprehensive.

dragonwize’s picture

Status: Needs review » Fixed

As was marked, this has already been fixed. http://drupal.org/cvs?commit=268112

If you want the fix you can download the latest from CVS.

Status: Fixed » Closed (fixed)

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

hadsie’s picture

Just a quick q about this. I've finally had time (and the motivation) to switch to the CVS version. Your cvs commit doesn't address the issue when both anon and auth roles have permission. I believe that if both these roles have permission then all roles should have permission. But I could be wrong? Is there a use case where a user assigned to a role could have less permission than an authenticated use?