#301 ✓invalid
Stefan

make "admin" prefix configurable

Reported by Stefan | May 8th, 2009 @ 10:51 AM

Please consider to make the admin URL prefix which is hardcoded multiple times in routes.rb and other places configurable so that you can change it and have a normal section page called admin.

Comments and changes to this ticket

  • Clemens Kofler

    Clemens Kofler May 14th, 2009 @ 02:33 PM

    • Assigned user changed from “Sven Fuchs” to “Clemens Kofler”
    • Tag set to permalink, routes
    • State changed from “new” to “invalid”

    Hi Stefan,

    I've thought this suggestion through and I think this isn't even an edge case but rather an edge case of an edge case! ;-)

    If you create a section with a permalink set to "admin", all that happens is that the section isn't accessible through the frontend and instead you're redirected to the admin area. The admin area stays accessible which means this definitely is no critical bug.

    Making it configurable would involve considerable changes in all routes files and what we gain from that (as I said, I don't even consider it as an edge case) doesn't nearly justify the amount of work needed.

    One thing we could discuss would be to prefix the admin area with "_admin" instead of "admin". Since our permalink creation cuts of leading and trailing underscores, this could never clash with any section you create through the backend. There would still be some work involved, though, because we'd have to manually change all the routes.

    I've set this ticket to invalid for the time being.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

People watching this ticket

Pages