[Radiant] Finer access control on page administration

2007-12-20 Thread Arik Jones
I am currently planning/brainstorming ways to run an entire army of
websites from one radiant install. Each website has its own content
admin, etc. There are several extensions that allow this to be done.
However, none of them seem to provide a great way to lock pages or allow
users to edit only the pages they created.

Would I have to hardcode this kind of granular page/user access or is
their something roaming around out there already?

Thanks.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Securing the Admin page

2007-12-20 Thread Richard Hurt
Ok, but what about changing the /admin route to something else?  Like I
said, it's not much but it might keep the script kiddies away.

Thanx!
  Richard

On Dec 19, 2007 11:08 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote:

> Richard,
>
> I would use your webserver's capabilities to restrict requests to that
> path to be over SSL.  I believe this is fairly easy to do with Apache,
> and I have a vague idea of how to do it with nginx.  Unfortunately, I
> don't do it that often and so I can't provide you any snippets.
>
> Sean
>
> Richard Hurt wrote:
> > Now that I have my Radiant powered site up and running (thank you very
> > much!) I am getting a bit anxious about the /admin page being exposed to
> the
> > world.  Not that I'm a big target or anything, but I really don't want
> to
> > have to depend on my password skills to make sure my site stays the way
> it
> > is.  What I would like to do is two fold.
> >
> > First I want to for the /admin page to be SSL only.  What's the best way
> to
> > go about this?  I am going to have a self signed certificate for now as
> it's
> > only me doing the editing, but I would like to keep the editing sessions
> > private.  At the very least I have to secure the initial logon page,
> even if
> > I don't secure the entire /admin/... route.
> >
> > Second I would like to change the admin route from /admin to something
> else,
> > maybe /edit, or /blahblah.  What's the best|easiest way to do this?  I
> know
> > security by obscurity is no security at all, but I would like to at
> least
> > give the script kiddies something to chew on.  :)
> >
> > Thanx!
> >   Richard
> >
> > P.S. I apologize if this is in the Wiki - I searched but couldn't find
> > anything on it.  I'll update the Wiki if I get it working.  How's that?
>  :)
> > ___
> > Radiant mailing list
> > Post:   Radiant@lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> >
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] CMS Matrix

2007-12-20 Thread Ryan Heneise
I took the liberty of making an entry for Radiant CMS on CMS Matrix:
http://www.cmsmatrix.org/matrix/cms-matrix?func=viewDetail;listingId=iJIZoLw4_EKBL_4ibl7egQ

I don't know if it matters much, but I thought having Radiant in there  
might lend it a little credibility. I hope I didn't step on anybody's  
toes if you have any changes or additions, you can make comments  
or report an error on that page.

- Ryan

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Custom CSS File

2007-12-20 Thread Benny Degezelle
Don't know about you Christopher, but i still haven't got this working..
As a quick fix, you can just make an /app/views/layouts/application.rhtml
file in your extension, and add the extra stylesheet from there

Benny

Oh, duh!  Sorry I overlooked this problem.
>
> You need to memoize the @stylesheets array.  Change that method to look
> like this:
>
> def customize_admin_css
>   @stylesheets ||=[]
>   include_stylesheet 'radiant_custom'
> end
>
> Sean
>
> Christopher Zimmermann wrote:
> > Hi,
> > Im trying to include a custom CSS file for radiant. Previously, I just
> > replaced the main.css file in the radiant gem directory - but thats not
> > "sustainable".
> >
> > I tried following Sean's instructions below but have run into trouble.
> The
> > technique is to create an extension that runs a before filter that
> calls:
> > include_stylesheet 'my_stylesheet'
> >
> > But it looks like the include_stylesheet is crashing because the
> @stylesheet
> > array is empty.
> >
> > The line it is failing on is:
> > controllers/application.rb line 22
> > "@stylesheets << sheet"
> >
> > My extension looks like this:
> >
> > def activate
> >  require_dependency 'application'
> >  SiteController.class_eval do
> >
> >prepend_before_filter :customize_admin_css
> >
> >def customize_admin_css
> >include_stylesheet ('radiant_custom')
> >   end
> >end
> >   end
> >
> > Any ideas anyone - could be something silly as I am still a rubynuby.
> >
> > Thanks!
> > Topher
> >
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] unsubscribe

2007-12-20 Thread Doug Ouverson
unsubscribe
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] undefined method `find' for Status:Class

2007-12-20 Thread nn
I'm trying to get radiant 0.6.4 to behave, but it keeps trowing this errror
at me:

ActionView::TemplateError (undefined method `find' for Status:Class) on line
#15 of vendor/radiant/app/views/admin/page/_node.rhtml:
12: 
13:   
14: <% unless simple -%>
15:   <%=
page.status.name %>
16:   <%= link_to image('add-child', :alt => 'add
child'), page_new_url(:parent_id => page) %>
17:   <%= link_to image('remove', :alt => 'remove
page'), page_remove_url(:id => page) %>
18: <% end -%>

This behaviour is same, regardles of the frozen radiant version (tried with
0.6.4 tag, and with edge). I've also reinstalled radiant gem, but can't lose
the error. Any ideas?
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant