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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | better_formats_anon_auth_role_perms_480880.patch | 2.97 KB | hadsie |
| #3 | better_formats_anon_auth_role_perms.patch | 629 bytes | hadsie |
| authenticated-user-better-formats-error.png | 19.34 KB | mhunt |
Comments
Comment #1
dragonwize commentedThis 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.
Comment #2
dragonwize commentedComment #3
hadsie commentedI'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.
Comment #4
hadsie commentedAfter 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.
Comment #5
dragonwize commentedAs 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.
Comment #7
hadsie commentedJust 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?