Project:CAPTCHA
Version:6.x-2.0-beta4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Currently, CAPTCHA does not allow you to put CAPTCHAs on administrative form. Though, I think at fist glance this makes a lot of sense, put here is where I need it:

I have a demo site that demos modules that should allow users to change some administrative settings, but I don't want users to be able to change those settings without a CAPTCHA.

It would be nice to take this restriction off, or maybe make it a setting: "Enable CAPTCHA on administrative pages."

The way the code restricts this is by looking at the first argument of the path (ie when it is "admin"). I find this kind of arbitrary but I understand that this is the best estimation we have in Drupal at the moment.

Thanks for a great module.

--
zzolo

Comments

#1

Title:CAPTCHAs Allowed on Admin Pages» Allow CAPTCHAs on Admin Pages

#2

Status:active» closed (duplicate)

here is a more in depth thread about demo sites and more
#287907: admin CAPTCHA preview, CAPTCHAs for admins, demo site CAPTCHAs

#3

Status:closed (duplicate)» active

@soxofaan

Thanks for the link; I figured I was not the first to bring this up. But, though that talks about demo sites, it really only does it in a small capacity and then pretty much dismisses the demo use case. It is very difficult to find any information about demo sites in that really long thread anyway.

Nonetheless, there is a discussion of a setting that would allow for CAPTCHAs on admin pages, but in the 6.x-2.x version, this is not the case.

I still think that my original suggestion still stands. I would assume from your response above that the CAPTCHA module will not go in this direction?

--
zzolo

#4

The other thread is indeed a bit long, but demo sites are a part of the road map. However, it's probably cleaner to solve the demo site problem in this separate thread.

Anyway, I have a patch here that adds the option "Allow CAPTCHAs and CAPTCHA administration links on administrative pages". It would be handy if you could try it out.

AttachmentSizeStatusTest resultOperations
445026_demosites.patch3.78 KBIgnored: Check issue status.NoneNone

#5

Applied patch and seems to work just fine for me. Thanks a lot!

#6

Status:active» fixed

thanks for testing

http://drupal.org/cvs?commit=203670

#7

Status:fixed» closed (fixed)

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