Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Пользователи и роли
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
  12 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
 
Ivan Ukhov  
View profile   Translate to Translated (View Original)
 More options Mar 17, 9:31 am
From: Ivan Ukhov <UVS...@gmail.com>
Date: Tue, 17 Mar 2009 06:31:40 -0700 (PDT)
Local: Tues, Mar 17 2009 9:31 am
Subject: Пользователи и роли
Подскажите пожалуйста современный, удобный плагин для работы с
пользователями и ролями? Какой плагин вы предпочитаете или быть может
пишите с нуля?

    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.
oleg dashevskii  
View profile   Translate to Translated (View Original)
 More options Mar 17, 9:34 am
From: oleg dashevskii <olegdashevs...@gmail.com>
Date: Tue, 17 Mar 2009 19:34:56 +0600
Local: Tues, Mar 17 2009 9:34 am
Subject: Re: Пользователи и роли

Посоветую свой :)

http://github.com/be9/acl9
17 марта 2009 г. 19:31 пользователь Ivan Ukhov <UVS...@gmail.com> написал:

> Подскажите пожалуйста современный, удобный плагин для работы с
> пользователями и ролями? Какой плагин вы предпочитаете или быть может
> пишите с нуля?

--
Олег.

    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.
jastix  
View profile   Translate to Translated (View Original)
 More options Mar 17, 10:10 am
From: jastix <metaljas...@gmail.com>
Date: Tue, 17 Mar 2009 07:10:03 -0700 (PDT)
Local: Tues, Mar 17 2009 10:10 am
Subject: Re: Пользователи и роли
я последнее время смотрю то на него, то на declarative_authorization .
никак не выберу.

On 17 мар, 16:34, oleg dashevskii <olegdashevs...@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.
NaTTs  
View profile   Translate to Translated (View Original)
 More options Mar 18, 4:37 am
From: NaTTs <gad....@gmail.com>
Date: Wed, 18 Mar 2009 01:37:38 -0700 (PDT)
Local: Wed, Mar 18 2009 4:37 am
Subject: Re: Пользователи и роли
Извини, jastix, с первого раза промахнулся кнопкой.

Я использую http://github.com/bilson/padlock_authorization/tree/master
для авторизации и http://github.com/binarylogic/authlogic/tree/master
для аутентификации.
Все отлично и гибко :)

On 17 мар, 17:10, jastix <metaljas...@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.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Mar 18, 5:55 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Wed, 18 Mar 2009 12:55:22 +0300
Local: Wed, Mar 18 2009 5:55 am
Subject: Re: Пользователи и роли

А мне чего-то authlogic очень не понравился. Руками с ним писать столько же,
как и совсем без него.


    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.
Yaroslav Markin  
View profile   Translate to Translated (View Original)
 More options Mar 18, 7:00 am
From: Yaroslav Markin <yaros...@markin.net>
Date: Wed, 18 Mar 2009 14:00:50 +0300
Local: Wed, Mar 18 2009 7:00 am
Subject: Re: Пользователи и роли

github.com/thoughtbot/clearance недавно таки стал стабильным релизом, теперь
только он :)

2009/3/18 Max Lapshin <max.laps...@gmail.com>

> А мне чего-то authlogic очень не понравился. Руками с ним писать столько
> же, как и совсем без него.

--
Yaroslav Markin

    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.
NaTTs  
View profile   Translate to Translated (View Original)
 More options Mar 18, 10:06 am
From: NaTTs <gad....@gmail.com>
Date: Wed, 18 Mar 2009 07:06:03 -0700 (PDT)
Local: Wed, Mar 18 2009 10:06 am
Subject: Re: Пользователи и роли
Да, такая штука у него есть - много писать самому. То есть инициатива
и запросы гибкости наказуемы. В текущем проекте оно может
понадобиться, так что выбрал именно его.

On 18 мар, 12:55, Max Lapshin <max.laps...@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.
NaTTs  
View profile   Translate to Translated (View Original)
 More options Mar 18, 10:07 am
From: NaTTs <gad....@gmail.com>
Date: Wed, 18 Mar 2009 07:07:23 -0700 (PDT)
Local: Wed, Mar 18 2009 10:07 am
Subject: Re: Пользователи и роли
Эту штуку я использую в другом проекте, в комплекте с
http://wiki.github.com/thoughtbot/suspenders

On 18 мар, 14:00, Yaroslav Markin <yaros...@markin.net> 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.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Mar 18, 10:09 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Wed, 18 Mar 2009 17:09:42 +0300
Local: Wed, Mar 18 2009 10:09 am
Subject: Re: Пользователи и роли

2009/3/18 NaTTs <gad....@gmail.com>

> Да, такая штука у него есть - много писать самому. То есть инициатива
> и запросы гибкости наказуемы. В текущем проекте оно может
> понадобиться, так что выбрал именно его.

Я просто вообще не понял, нафига он мне нужен, если мой код, который кочует
уже в 5-й проект,
требует от меня меньшей работы.

    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.
Заяц Илья  
View profile   Translate to Translated (View Original)
 More options Mar 18, 1:52 pm
From: Заяц Илья <somebod...@gmail.com>
Date: Wed, 18 Mar 2009 10:52:44 -0700 (PDT)
Local: Wed, Mar 18 2009 1:52 pm
Subject: Re: Пользователи и роли
А чем clearance выигрывает у authlogic?

On 18 мар, 17:09, Max Lapshin <max.laps...@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.
Паша  
View profile   Translate to Translated (View Original)
 More options Mar 18, 3:29 pm
From: Паша <pavel.druz...@gmail.com>
Date: Wed, 18 Mar 2009 12:29:08 -0700 (PDT)
Local: Wed, Mar 18 2009 3:29 pm
Subject: Re: Пользователи и роли
а как на уровни view ограничивать просмотр по ролям? может есть какой
удобный плагин?
а то я сечас использую метод if_authorized? плагина
restful_authentication таким образом:
  <% if_authorized? :publish, @round  do %>
    <li><%= link_to t('round.publish'), publish_season_round_path
(@round.season, @round) %></li>
  <% end -%>

  def authorized?(action = nil, resource = nil)
        case action
          when :publish
                !...@round.published && logged_in? && current_user.has_role?
("admin")
        else
          logged_in?
        end
  end

но мне такой подход не нравиться :(

On 18 Бер, 19:52, Заяц Илья <somebod...@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.
Railsmaniac  
View profile   Translate to Translated (View Original)
 More options Mar 19, 5:05 am
From: Railsmaniac <gad....@gmail.com>
Date: Thu, 19 Mar 2009 02:05:22 -0700 (PDT)
Local: Thurs, Mar 19 2009 5:05 am
Subject: Re: Пользователи и роли
Clearance делает за тебя больше работы. Предоставляет куски
контроллеров, стоковые шаблоны и много радости, которая работает из
коробки. А authlogic очень узко сфокусирован на аутентификации, все
остальное (в т.ч. контроллер) придется писать самому.

On 18 мар, 20:52, Заяц Илья <somebod...@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.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google