Displaying 20 results from an estimated 500 matches similar to: "Adding ''author'' functionality to UserEngine / RBAC roles"
2006 Jan 23
2
UserEngine -- Permission.synchronize_with_controllers -- trouble with my own controller modules
I suspect there''s an easier version of this question that I could ask,
but I''m not sure where I''m going wrong. I have LoginEngine and
UserEngine setup and seemingly running fine. However, not all of my
controllers are being found when I run "rake sync_permissions".
Specifically, it''s the controllers that are not in the base
controllers folder, but
2006 Jan 30
2
Modules, controllers and inheritance
Hi!
I was trying to cleanup my app and I runned into quite a problem. My
controllers in submodule do not seem to inherit things from base
class.
I have following setup:
app/controllers/
application.rb:
class ApplicationController
admin/
admin_controller.rb:
class Admin::AdminController < ApplicationController
include LoginEngine
include UserEngine
2006 Aug 10
2
Authentication: UserEngine or own creation?
Hi all
I''m coding a project that needs a lot of authentication stuff... e.g. I
write sort of a profile area, where users can create their different
profiles.
So I need to check if a user has the right to browse the profiles, if he
has the right to change them all (as an admin) or the ones that belong
to him etc. etc. This needs quite some logic...
Now I wonder whether to use the
2006 Jul 27
0
Should I be extending UserEngine for User Preferences?
Fairly high level question here.
I''m using LoginEngine & UserEngine with success. My application needs
to track user preferences, which includes some associations with my
models.
Should I be extending the UserEngine model(s) and adding my own
attributes? This means adding a lot to a plugin, including extending
controllers and views.
Or should I be creating my own
2006 Apr 28
0
UserEngine + User Profiles
[Cross Posted in Rails Engines]
I''m taking a new approach to how I view user data, I think in the end it
will be faster for the system anyways... What I''m doing is using
LoginEngine/UserEngine combo on my site for authorization, and I want
each user to have a profile that they edit and maintain. Each user
would have 1 profile.
My question is getting my profile and my user
2006 May 16
3
UserEngine and hiding controllers
I''m using LoginEngine + UserEngine for web application.
1. I have some controllers under and admin subdirectory
(Admin::PostController etc). The auto-fill permission in UserEngine
does not work correctly with those controllers.
Right at the moment this is not a problem, since I kind like having the
Admin section separated and available only for god users. However, I
could use
2005 Dec 14
2
[UserEngine] Configuring minimal access without logins
Hi,
I''m playing around with the UserEngine for limiting access to my app and I like
what I see so far. One question, however, I''d like to be able to set it up so
that any user navigating to the site is automatically set as "anonymous" or
some such access level with minimal permissions, without having to login.
IOW, the login function should only be used by
2006 May 30
0
UserEngine / LoginEngine + file upload
I''m trying to setup loginengine/userengine for my site, and I''ve added
one extra field to the ''user'' table, which is supposed to store the
filename of the user''s picture. Now, I have upload_progress/file_column
working on other parts of my site, but when I try to submit a multipart
from within user/edit controller I get the following error message
2006 Mar 16
0
UserEngine and the test environment
Hi !
I was going to write a test that asserts that my home page
controller''s index action is available for guests:
class RootControllerTest < Test::Unit::TestCase
def test_guest_access_granted_to_home_page
get :index
assert_response :success
end
end
Obviously, this test fails. If I change the dev DB, I can test in the
browser, and it works fine. But, the test DB does
2005 Dec 02
8
UserEngine: stack level too deep
Hi,
I''m trying to get the UserEngine running.
I have installed the LoginEngine, added the essential lines to
environment.rb / application.rb and application_helper.rb.
Worked fine.
Then I did the same with the UserEngine and when trying to set up the
db:
rake engine_migrate ENGINE=user
I get:
Migrating engine ''user_engine''
rake aborted!
stack level too deep
But...
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
Good day all.
I have successfully installed Engines and LoginEngine and LE is setup and
running correctly.
However, after installing and setting up UE, when attempting to run the rake
bootstrap method I get the following error:
undefined method `synchronize_with_controllers'' for Permission:Class
My environment is
Rails 1.0.0
Ruby 1.8.2
WinXP
WebBRICK
MySQL 4.1.14
I found the following
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
2005 Apr 16
0
RBAC on Rails?
yo,
has anyone done a good RBAC implementation for rails?
I see lotsa mini-tutorial-suggestions, but not... ActionRBAC! :)
any pointers helpful - if nothing exists I think I''ll duplicate the
RBAC implementation we did for binarycloud (binarycloud.com) and give
it to the community.
thanks for any help,
_alex
--
alex black, founder
the turing studio, inc.
510.666.0074
2006 Nov 04
0
Homebrew RBAC
I''m trying to design an RBAC solution for my project. I don''t want to use
plugins or engines as I''d like to know how it works. My problem is as
follows.
I have 4 user types: caller, client, rep, admin. Each have their own model
because they would require different registration information. For instance
rep requires tax id # whereas caller requires social security
2006 Oct 31
0
6249706 rbac utilities have unused variables
Author: bubbva
Repository: /hg/zfs-crypto/gate
Revision: d8b153eb88fe5e992d16ca0931315fb4ffc14e2b
Log message:
6249706 rbac utilities have unused variables
Contributed by Stephen Potter <spp at unixsa.net>.
Files:
update: usr/src/cmd/auths/auths.c
update: usr/src/cmd/profiles/profiles.c
update: usr/src/cmd/roles/roles.c
2006 Oct 31
0
6343625 ZFS RBAC integration is incomplete
Author: eschrock
Repository: /hg/zfs-crypto/gate
Revision: 772877c84f6d282397b70b9c1aa8fe3107aa21ca
Log message:
6343625 ZFS RBAC integration is incomplete
Files:
update: usr/src/lib/libsecdb/exec_attr.txt
2006 Apr 28
0
UserEngine + Profiles
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 447 bytes
Desc: This is a digitally signed message part
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060428/8bcf7eb4/PGP-0001.bin
2006 Feb 08
1
testing with loginengine and userengine
Hi all,
My unit tests and functional tests are failing because my tests aren''t
authenticated. I''m using using user engine and login engine.
How can I fake authentication to make my tests work properly.
Thanks,
Jason Edgecombe
2011 Aug 26
1
RBAC and zfs
i would like to create a role which can take snapshots, run zfs send and zfs
receive. the user switches to that role and has permissions to run those
commands on a pool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20110826/6f7177db/attachment.html>
2005 Apr 18
3
RBAC?
hi all,
I posted this earlier:
are there any RBAC (role based access control) efforts in rails? code
to support? external, open source project(s)? etc?
any help much appreciated, if none exists we''ll build it and anyone who
wants to help is welcome :)
_alex
--
alex black, founder
the turing studio, inc.
510.666.0074
root-16h2cdTTKgpzNNFeSAH1EA@public.gmane.org