I am working as superadmin (yes, they say it is bad) and I have exactly the kind of annoyance you are talking about (the burden of manually selecting the default each time). The module is great for “regular roles”, but doesn't work with super-admin (ID: 1, the very first role created, at install time).

Any plan to insert support for super-admin? Thank you

CommentFileSizeAuthor
#3 filter_default_super_admin.patch1.88 KBguardian

Comments

David Latapie’s picture

I used what I consider a hack (but your mileage may vary): I created a “super-admin” role that I plan to use only for user 1 and gave it the chosen default input format.

Why I consider it a hack:

  • There will never be more than one super-admin, by definition (there is only one user 1). But this role could be given to several people, which should not be allowed
  • I had to create this role, which I should not have to. Super-admin should be a default role, like authenticated user and anonymous user. I don't want just any authenticated user to be able to enter whatever code they want!
  • First, I created a fourth account (because I already had an “administrator” role, as suggested in Drupal Cookbook (for new Drupallers) — B. Basic Configuration). Then I created a fourth role, but whatever name I’d give it, I could not make the default input work (>specified input format< is not allowed for user super-admin). I then deleted it, rename the third role “super-admin”, tied it to user 1 and everything ran fine. Looks like a bug.
guardian’s picture

subscribing, would be need indeed to have it for user 1 as well

guardian’s picture

Status: Active » Needs review
StatusFileSize
new1.88 KB

here you are

guardian’s picture

the patch doesn't apply anymore
too bad nobody looked at it :/

chellman’s picture

Status: Needs review » Needs work

I have to admit that I don't consider the creation of an administrator role, and assigning yourself to it, a hardship or a hack. User #1 is a special user, and the user who is expected to do all the initial configuration of the site, so adding oneself to a newly-created role doesn't seem like a bad thing.

I am, of course, willing to consider other opinions if others want to chime in.

guardian’s picture

well i see what you mean,
it's just that in my setup i'm sometimes editing posts as super admin because i'm already logged in

chellman’s picture

I recommend, for now at least, giving your user #1 account a role that has a default filter that you find useful, or just create a new role just for this purpose.

guardian’s picture

well i'll just keep my patched version :)

David Latapie’s picture

One year later, coming back…

Drupal 7 (dev) has an administrator role per default. This is not super-admin, though.

pomliane’s picture

Status: Needs work » Closed (won't fix)

This version of Filter Default is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.