Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Namespaces support
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dmitry Polushkin  
View profile  
 More options May 27, 9:01 am
From: Dmitry Polushkin <dmitry.polush...@gmail.com>
Date: Wed, 27 May 2009 06:01:19 -0700 (PDT)
Local: Wed, May 27 2009 9:01 am
Subject: Namespaces support
To support it simple change this line:

context = @context || contr.class.controller_name.to_sym

to

context = @context || contr.class.controller_path('/', '_').to_sym


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitry Polushkin  
View profile  
 More options May 27, 9:05 am
From: Dmitry Polushkin <dmitry.polush...@gmail.com>
Date: Wed, 27 May 2009 06:05:18 -0700 (PDT)
Local: Wed, May 27 2009 9:05 am
Subject: Re: Namespaces support
typo:

context = @context || contr.class.controller_path.gsub('/',
'_').to_sym

On May 27, 2:01 pm, Dmitry Polushkin <dmitry.polush...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steffen Bartsch  
View profile  
 More options May 27, 1:23 pm
From: Steffen Bartsch <sbart...@tzi.de>
Date: Wed, 27 May 2009 19:23:14 +0200
Local: Wed, May 27 2009 1:23 pm
Subject: Re: [declarative_auth] Re: Namespaces support
Am Mittwoch, 27. Mai 2009 schrieb Dmitry Polushkin:

> context = @context || contr.class.controller_path.gsub('/',
> '_').to_sym

I would be glad to have decl_auth support namespaces.  I am not sure about the
consequences of this change, though.  Could you provide test cases for this
approach, e.g. in a forked repository so that I can pull from there?

An alternative to this code change is to give the context in the
filter_access_to call as an option.

Steffen


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitry Polushkin  
View profile  
 More options May 28, 5:42 am
From: Dmitry Polushkin <dmitry.polush...@gmail.com>
Date: Thu, 28 May 2009 02:42:34 -0700 (PDT)
Local: Thurs, May 28 2009 5:42 am
Subject: Re: Namespaces support
Thanks Steffen for the answer. I will try to provide code with tests
in 2 weeks.

On May 27, 6:23 pm, Steffen Bartsch <sbart...@tzi.de> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fturtle  
View profile  
 More options Jun 21, 10:45 am
From: fturtle <funkingb...@gmail.com>
Date: Sun, 21 Jun 2009 07:45:48 -0700 (PDT)
Local: Sun, Jun 21 2009 10:45 am
Subject: Re: Namespaces support
Any update on this? I'm after namespace support too!

Thanks,
fturtle

On May 28, 10:42 am, Dmitry Polushkin <dmitry.polush...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tobmatth  
View profile  
 More options Jun 23, 4:55 am
From: tobmatth <goo...@evil-knievel.de>
Date: Tue, 23 Jun 2009 01:55:07 -0700 (PDT)
Local: Tues, Jun 23 2009 4:55 am
Subject: Re: Namespaces support
+ 1

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google