Under configuration settings, there is a function to define specific roles when the javascript will injected. In my site, currently got 4 roles.

If I only enable this module to run user with roles anonymous and authenticated, it also works to other roles. Most probably it got inherit roles from authenticated rather than specific roles define.

Comments

parasolx’s picture

Just go through all the module code. and I realize that there are 2 overlapping permission regarding roles management for specific javascript.

One is in Mouseflow settings page and another one is under user permissions. I don't know what is the main reason having these two configuration for the same purpose.

Since user permission will overriding everything, so I found that there are useless put roles specific in admin pages. so my suggest is to take out either user permission or admin page specific roles settings.

bwinett’s picture

Status: Active » Closed (works as designed)

This works the same way all other access works in Drupal. If you select the "anonymous" and "authenticated" roles, it will work with every visitor. Any visitor who has any other role is going to necessarily have the "authenticated" role.

There is only one "permission", which is found on the user permissions page. This is the permission to configure the module. The other thing you are talking about is not a "permission", but specification of which roles should get the JavaScript code.

Marking this as "closed (works as designed)".