Hi,

Module does not have any entry in permission table, I think should be at least one entry for allow view report (admin/reports/browscap), just because there is no way to delegate this option to other roles.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

klonos’s picture

I agree, I need this one too.

...subscribing

Simon Georges’s picture

Status: Active » Needs review
FileSize
2.8 KB

Patch provided.

greggles’s picture

Status: Needs review » Needs work

Looks mostly OK to me. However, given that the configuring can change an important function I suggest "administer browscap" instead of just "configure browscap."

What do you think?

Simon Georges’s picture

Fine for me ;) Do you want me to re-roll a patch ?

greggles’s picture

Please do, yes.

Simon Georges’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Needs work » Needs review
FileSize
2.8 KB

New patch, with "administer browscap", done on the latest 6.x-1.x-dev.

klonos’s picture

#6 seems to work fine. Thanx ;)

Devin Carlson’s picture

Title: view report permission » Add permission to view reports
Version: 6.x-1.x-dev » 7.x-1.x-dev
Assigned: Unassigned » Devin Carlson
Issue tags: -granular permissions +needs backport to 6.x
FileSize
2.47 KB

Moving to Browscap 7.x and then backporting.

The attached patch adds the permissions outlined in #6 to Browscap 7.x.

Devin Carlson’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Needs work

Committed to 7.x-1.x.

Moving back to 6.x and marking as "needs work" to test the last patch for 6.x and ensure that it uses the same permission names as the 7.x patch.

Devin Carlson’s picture

Status: Needs work » Patch (to be ported)
Devin Carlson’s picture

Status: Patch (to be ported) » Needs review
FileSize
2.39 KB

Backport of #8.

Devin Carlson’s picture

Status: Needs review » Fixed

Committed to 6.x-1.x.

klonos’s picture

Thanx Devin! One less patch to keep around and having to re-apply with each installation.

PS: ...welcome as a new co-maintainer of Browscap btw ;)

Status: Fixed » Closed (fixed)
Issue tags: -needs backport to 6.x

Automatically closed -- issue fixed for 2 weeks with no activity.