Dear Madam / Sir,

besides being a wonderful and clever module, in my Drupal 7.7
installation "Trick Question" doesn't exempt the role
"Administrator" when "skip Trick Question" is checked in the
path "People -> Permissions -> Trick Question".

With regard to comments or contacts or any other
login-form I don't use an additional captcha-module, just
"Trick Question". Therefore I'm sure that there's no
collision of permits.

What am I doing wrong?

CommentFileSizeAuthor
#6 trick_question-7.x-1.3.zip10.48 KBvertikal.dk

Comments

vertikal.dk’s picture

Assigned: Unassigned » vertikal.dk

GeorgHuber,

I just replicated this bug and you seem to be right. I can't avoid filling out the questions as an administrator in spite of having ticked the box in permissions. This seems to ve a version 7 issue only. I have the module in production on several D6-sites and never met the issue.

I will look into it ASAP - give me a day or two and I'll report back and hopefully update the module to work correctly.

Martin

vertikal.dk’s picture

GeorgHuber,

Oops! Needed only minutes to spot it. Silly me. I had for some reason commented out a line to test the feature as admin, but clearly forgotten to reenable it, so everybody was forced to fill out the question!

I have fixed it and will push the fixed files ASAP.

Martin

Sunsani’s picture

When are you going to "push" these files? I downloaded the module a few minutes ago and all roles are forced to answer the trick question, even those I have designated to skip it.

vertikal.dk’s picture

Title: Permissions - Exclude doesn't work for Admininstrator » I did fix and (try to) update

Sunsani,

I did commit the change August 12th, but even though it's changed in the committed file, it has had no effect in the download package. I've been struggling with Git, not being able to get it to do as I wanted, which was simply to update the existing version of the module with the new one and getting that small error fixed.

The updated trick_question.module is here:
http://drupalcode.org/project/trick_question.git/commit/81febc4

And when I fetch the module using Git it's fixed, but it's not when I download the compressed package from the module page. If you replace the trick_question.module in the package with the one linked above, it works.

What it takes to get that update into the module package is beyond me...

I'll try to pursue the matter and get smarter on Git and versions...

Martin

jlhs’s picture

Hello vertikal.dk, would you be able to attach a zip of your latest version to the project page or in a comment here. As Git is over my head.

Thanks from Josh

vertikal.dk’s picture

StatusFileSize
new10.48 KB

jlhs,

Find attached the latest version per late October 2011. I also struggle with Git and getting the darn thing to update the packages available for download on the project page. Sorry to you and the rest of the crowd for being such a dork.

Martin

jlhs’s picture

Excellent. Thankyou very much martin!

vertikal.dk’s picture

Issue summary: View changes
Status: Active » Closed (fixed)
Related issues: +#2250289: User access validation not working in the drupal 7 version

This issue has been fixed in the latest version.
Martin