similar to: roles based authentication

Displaying 20 results from an estimated 400 matches similar to: "roles based authentication"

2006 Mar 22
1
has_many :addresses, :as => :addressable
I just got the Rails Recipies and I''m looking the Recipe 17. class Person < ActiveRecord::Base has_many :addresses, :as => :addressable end class Company < ActiveRecord::Base has_many :addresses, :as => :addressable end class Address < ActiveRecord::Base belongs_to :addressable, :polymorphic => true end At the beggining I had some problems because
2012 Oct 18
1
GlusterFS failover with UCarp
Hi, we've successfully configured GlusterFS mirroring across two identical nodes [1]. We're running the file share under a Virtual IP address using UCarp. We have different clients connected using NFS, CIFS and GlusterFS. When we simulate a node failure, by unplugging it, it takes about 5 seconds for the CIFS and GlusterFS clients to refresh the connection and continue operation. The
2006 Aug 23
8
acts_as_ferret with Mongrel and Edge Rails
Hi there, Has anyone tried acts_as_ferret with Edge Rails and Mongrel? When I install the plugin to a project that has Edge Rails frozen, and the Mongrel gem installed, I can''t start the server. There''s no error, it just doesn''t start. I''ve used acts_as_ferret in the past with WEBrick, and stable Rails releases without a hitch. If I remove the
2006 Jan 17
4
find_by_sql column ordering defect?
Hello. I have a program that accesses a metadata (translation) table for column names as well as the ordering of columns for a specific model. Also in there is a collection of bool options such as column_visible_on_form, column_visible_on_screen_quicklist etc. The idea is that our customer can specify to a certain extent how their layout/user interface will appear. To accomplish this, I use
2005 Dec 15
2
Auth_generator: to handle users
Hi everyone, I have made an announcements few weeks ago about auth_generator. As we released few versions since, I send another one on the list. The auth_generator gives you an admin interface to handle users, can display user informations on static pages, allows you to choose what crypting algo you want to use (you can use a salt per account if you want for better security) and much more. You
2006 Sep 26
3
EXT3-fs: invalid journal inode.
Hi Everyone, I have a server which has a raid array on /dev/sdb. After a crash I tried to mount the array and it failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or other error dmesg reports: EXT3-fs: invalid journal inode. I tried to run e2fsck and it failed (The output can be seen below). If anyone has any suggestions on how I can restore
2006 May 09
3
Need Login/Authorization/User Management Advice
I''m new ot rails and am revamping one of my first rails projects and would like some advice on user authentication and management. In my app I implemented the basic user login functionality as it is in the Agile Web Developement book. Though it works great I''d like a bit more functionality such as: user levels/roles (i.e level1, level2, level3, admin) type permission,
2006 Jun 19
2
Auth_generator and domains
Hello all, Thank you for your help in advance.I am working with the auth_generator and see that the "roles" are domains. I am unsure how to add domains to the system and then control who is in what domain. Any help with this or an explanation of how domains work is greatly appreciated. Thank you in advance. Sincerely, Robert Dempsey -- Posted via http://www.ruby-forum.com/.
2006 Jan 03
7
best authorization?
Hello, I want to allow some users to manage other user accounts, but do not want them to manage the admin account. I have tried auth_generator, login_engine and user_engine I am having a hard time gettign this to work. Looking for advise and help. Thanks Frank -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 14
2
Only allowing areas of site to users using authentication
I have a site in development where I only want specific users to access specific items that uses belongs_to and has_many. Say we have this kind of structure. Person <belongs_to + has_many> Items When person logged in they only have access to items that belongs to him/her. I''m using auth_generator but only seem to put an auth inside controllers and dont know how to go any
2006 Aug 09
4
checking session -newbie
hello! i have a problem checking a session. i want to check if the session exists, and then redirect somewhere, but in the if-loop, if the session doesnt exist, i become an error im trying to do something like: if @session[''user''] == nil redirect_to ... else redirect_to ... end but as i said, the loop doesnt work, because i become the error before it checks. how can i
2005 Dec 23
3
auth_generator and GD woes
Hi All, I am trying to use the auth_generator package and am having problems with the GD requirements. So, while I realize this is tangental to rails, I am hoping someone may have some insight for me. I get the following error when trying to update my account info: MissingSourceFile in Account#info no such file to load -- GD RAILS_ROOT: script/../config/.. Application Trace | Framework
2006 Jan 05
1
Looping through all models in the application
Hello. I have an application that depends on a table/model (ModelInternationalization) that provides international translations in various languages for all the model/table and columns names as well as some other stuff (whether the column is visible on forms, dropdowns, lists, reports etc). I need to create a management interface for this translation stuff (the plaintext stuff, btw, will be
2006 Apr 04
4
Membership Management System Plugin/Gem?
Hi, I''m looking to create an online internet community for managing user profiles and other data. Thus, I would need that has the following features: o authentication - protect individual member pages/directories o session management o retrieve and reset passwords In short, I''m looking to create an online community. Thus, can someone direct me to a plugin(s) for
2006 Jan 04
2
Array problem
I''m having a difficult time looking @user[:domains] from auth_generator. Here is the output from debug: debug(@user[:domains]) will print out: --- TESTERS: "1" ADMIN: "1" But if I use @user[:domains][:TESTERS] it returns nil. How would I go about accessing the level of each of the domains? Thanks. -- Posted via http://www.ruby-forum.com/.
1997 Oct 08
5
Malicious Linux modules
As halflife demonstrated in Phrack 50 with his linspy project, it is trivial to patch any system call under Linux from within a module. This means that once your system has been compromised at the root level, it is possible for an intruder to hide completely _without_ modifying any binaries or leaving any visible backdoors behind. Because such tools are likely to be in use within the hacker
2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile
2006 May 30
3
Help about CMS - newbie in RoR
Hi team, I''m a very newbie RoR user from Spain and I''m developing a blog''s CMS. Why RoR?, coz I think it''s an amazing framework with many posibilities, portable and really powerful, with a young and optimist community, and taking my project I''ve prefered his structure in front of LAMP. Another thing is that I''ve liked to surprise my masters
2006 May 29
8
Rails and user authentification
I am a the point now where I have to add user authentification to my application. Anyone can point me toward an easy to use / secure library? I know about ActiveRBAC and was wondering if there is anything else that I should consider. Thanks! -- Posted via http://www.ruby-forum.com/.
2005 Dec 20
0
db/schema.rb and PostgreSQL sequences
Hello. I''m working the "proper way" with creating the initial db schema via migrations and db/schema.rb. However, I have a bit of a special need, and need to know if anyone knows the solution to this; I need a sequence that is common to several tables - a "data id" that gives a sort of unique object number to every row in every table. Some associated tables (a