Closed (fixed)
Project:
CAS
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Jul 2007 at 07:11 UTC
Updated:
22 Aug 2007 at 21:33 UTC
Jump to comment: Most recent file
We are re-implementing our Intranet using Drupal and would like all pages, except for a home/intro page, to require authentication via the campus CAS server. What I'd love to see would be a "Redirect every page except the listed pages" in the 'Redirection settings' (similar to the "Show on every page except the listed pages" you see in block config). I've tried using the Front_page module to provide a different home/intro page for non-authenticated users (something it has no problem doing), but it looks like the CAS module is redirecting before Front_page can do it's thing. Any chance of seing this option added to the Redirection settings? [Or is there a better way to accomplish this?]
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cas-156921.patch.txt | 3.19 KB | metzlerd |
Comments
Comment #1
metzlerd commentedThis is definitely something that I intend to do. I'm in need of it as well. I might knock it out tommorrow, but if I don't get to it, I'll be out of the country for the next 3 weeks. Feel free to submit a patch if you feel so inclined.
Basically the strategy is to change the All Pages radio to All pages except and have the same wild card text box control the behavior. There's code like this in the Tinymce module which I planned to base this after.
Otherwise I'll implement this as soon as I return in August.
If you submit a patch, be sure to do so against head.
Dave
Comment #2
metzlerd commentedHere is a patch that accomplishes this feature. As always looking for others to review my code, but I'll go ahead and commit this if I don't here back in a day or so.
Comment #3
metzlerd commentedCommited this since no one jumped on code review.
Comment #4
(not verified) commented