Due to the function found ~line 799 in revisioning.module

**
 * Callback for the primary Edit tab.
 */
function _revisioning_edit($node) {
  if (variable_get('node_admin_theme', FALSE)) {

When using the admin module's "Use Administrative Theme" Permission users without the permission are given the administrative theme.

Since theme selection happens so deeply in the stack, I think this needs to be moved to hook_init and take into consideration the known conflict.

I'm trying to find a decent solution without hacking the module.

Hacking the module with this:

**
 * Callback for the primary Edit tab.
 */
function _revisioning_edit($node) {
  //Dirty hack to prevent users from getting admin theme with 
  // admin module
  //if (variable_get('node_admin_theme', FALSE)) {
  if (variable_get('node_admin_theme', FALSE) && user_access('use admin theme')) {

Comments

rdeboer’s picture

Thanks bonked. I feel the hack is unobtrusive. Will include in next release.

rdeboer’s picture

Status: Active » Closed (won't fix)

Oops! I don't think this ever got in. Sorry.
I'm not sure whether this issue is still current, and what the status of of the admin module is.
Please re-open with details, if still an issue.