Displaying 20 results from an estimated 4000 matches similar to: "State of the Art in Login?"
2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem
with the access_denied method in Ezra''s ACL access control plugin. It''s
working fine (in conjunction with acts_as_authenticated) until it comes
across a user it denies access to, in which case it throws the following
error:
NoMethodError in Admin#index
protected method
2006 Aug 05
2
acl_system2 undefined method `access_control''
I''ve installed acts_as_authenticated and have that working like a charm
and now would like to add the acl_system2 plugin so I can do some role
based authorization stuff.
I went ahead and installed the plugin like this:
>ruby script\plugin source http://opensvn.csie.org/ezra/rails/plugins/dev/acl_system2
Then I installed the lib and test
>ruby script\plugin install lib
>ruby
2006 May 02
3
Writing tests for plugins
I''ve been googling around trying to find some tips on creating tests for
plugins. Am I correct in assuming that I''d have to have the tests as
part of a rails app in order to test the plugin? I''d like to find a way
to do standalone tests for the plugin.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 11
3
LoginGenerator Killing Me ;)
OK I have dents in my head from beating on LoginGenerator, so if anyone
who has used this thing can shed a little light I would greatly
appreciate it.
It is installed and I have set it up on my User class. Folks can login,
logout, etc just fine. I have am not using the per method protection
model yet, as I am trying to migrate slowly ;)
What is broken though are all my methods that save or
2006 Aug 01
2
HOWTO? security based on data values
Hi!
I recently started with RoR and this may be a newbie question.
I have a company table, employee table and transactions table.
1 company has many employees. Each employee performs many transactions.
Employees from different companies LOGIN to the system to record their
transactions. Employees can search on all transactions associated to
their companies (indirect relationship via employee),
2006 Jan 09
2
Using SQL to get a whole record when using aggregate functions
I have a table with some data structured something like this:
book
----
title (varchar)
pages (int)
completed_on (date)
While I can find the shortest book completed in each year with
something like this:
select min( pages ), year from book group by year
I would also like to get the title of the shortest book in each year.
Is there any way to do this by modifying the previous query to pull
2006 Feb 20
6
LoginGenerator - multiple user types...
I have been looking at the LoginGenerator gem. Looks great and can be
easily modified. However in my app I have two places where people can
login, one is for in my case "employees" the other is for "users". They
are seperate tables in my database and have many different fields.
I have an admin area located at ./sysadmin/ where only "employees" can
login, they
2006 Apr 15
9
newbie q: acts as authenticated or login engine?
I''m trying to create a basic web page where people can register. Before
they are approved they are emailed a link where that they must click in
order to verify their info is correct (or at least their email).
Should I use acts as authenticated or the login engine for this?
http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated
http://rails-engines.org/login_engine
TIA
2006 Jan 02
2
HTML Fragment not Loading in Firefox; Fine Elsewhere
Ok, this has got me going a bit crazy. I have an HTML fragment being
returned for the result to an AJAX query. It works fine in Safari or
from curl (and even in IE/Mac), but utterly fails to load in Firefox,
even if I point directly to the URL, skipping all that AJAX stuff in
between. (The server logs show a 200 response, regardless of which
browser is being used.) I''ve verified
2006 Aug 02
1
Authentication & ACL
Hey,
Would you guys recommend just coding your own authentication and ACL system,
or is it best just to use one of acts_as_authenticated, LoginGenerator and
alike. There''s a good example in Rails Recipies and Agile Web Development
with Rails 2nd Edition that I can base it on also.
What would you suggest.... and why?
-------------- next part --------------
An HTML
2006 Jan 02
2
Getting Index When Using render :partial
I''m using a web service to retrieve an array of results to a search
and a render :partial to display those results to the user, while at
the same time putting the results into the session. Is there a way
for my _book.rhtml file to have access to the index of the result
currently being displayed, like each_with_index makes available to
its block? This would allow me to have the
2006 Jan 25
14
Salted Hash Login Generator
Does this work with rails 1.0 ? I saw that people said it failed with rails 14.1, which
practically identical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5da24694/attachment.html
2007 Jul 06
3
stubbing helper methods for View specs
Hi there
I have several view specs, that include the following snippet in
their "before" block to stub the methods by acts_as_authenticated
before :each do
@u = mock_model(User)
@u.should_receive(:name).and_return("Hans Muster")
template.should_receive(:logged_in?).and_return(true)
template.should_receive(:current_user).and_return(@u)
end
this
2006 Jul 25
2
Authentication design/ideas
Hi all,
I''m using acts_as_authenticated for the front end facing part of my
site. I have a model called Customer. I now want to protect the admin
sides of things. I am thinking of using Ezra''s acl plugin
(http://opensvn.csie.org/ezra/rails/plugins/dev/acl_system2/README)
for this. My only problem is that I don''t want the model for admin
users to be called Customer,
2006 May 10
0
Ezra''s acl_system2 and flash not getting populated in functional tests
Hi all,
I am using the LoginGenerator and Ezra''s acl_system2 to protect
certain actions in my controllers. I have written some functional
tests to check for correct handling of redirects, flashes, etc. The
flashes however only get populated on the first get action in any
given test. Here is what I have so far:
In the controller:
class PageController < AC
before_filter
2006 Mar 22
6
Project management
Hello for all,
Anyone using any software for management your projects?
Thank''s
--
Posted via http://www.ruby-forum.com/.
2006 Jul 04
4
Question about Salted Hash Login Generator
Hi,
I am using salted hash login generator to create my login page. In the
user_environment.rb file, I saw that there is a comment saying should
NOT include the email field in the changeable user fields array. Does
anyone know why?
> # Add all changeable user fields to this array.
> # They will then be able to be edited from the edit action. You
> # should NOT include the
2005 Dec 29
2
Login plugin
All-
I am new to Ruby; following are my two questions:
1. Which is the best login plugin? I keep hearing about SALT and
loginengine.
2. For installing loginengine; I see the two following steps - Both
these does not work for me. :
$ script/plugin install login_engine
==I am getting "script/plugin is not a internal or external
command, operable program or batch file"
2006 Dec 26
15
is there a way to not repeat installing plugins?
i seem to be using the same plugins for all my sites and was wondering
if there is a way to make the process easier and faster?
is this what is called by "packing your own gems"?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2007 Aug 11
2
Rspec and acl_system2 plugin
Hello,
I''m trying to spec a Rails application using the couple
restful_authentication/acl_system2 plugins.
In my admin layout, I put the following code :
<% restrict_to "admin" do -%>
<ul id="admin-tabs">
<li> /users Users management </li>
</ul>
<% end -%>
Then in my spec file