Question: I have a layout where users can add buttons and place them where they want. 
I want to allow the user to save their layout so that it is loaded the next time they open the app.
Does anyone know if I can save the file on the sdcard? Alternatively I could use some kind of layout.getXml() method and put it in the database my app uses.
Thanks in advance

Answer: 
You want all logged in users to have "superuser" privileges? Simplest approach would be to add additional user rights to the existing `user` user group, rather than creating a new user group.

```

$wgGroupPermissions['user']['some_user_right'] = true;

```

See <http://www.mediawiki.org/wiki/Manual:User_rights>.
Auto promote is deceptive and does not work in my experience. I ended up having to add the user to the group in my auth plugin extension. I believe I used the add group method from the User object, I'll have to double-check that.