Displaying 20 results from an estimated 400 matches similar to: "UserEngine / LoginEngine + file upload"
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
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 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
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 27
3
LoginEngine File_column interop
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hello all,
I hope someone can help me with this issue, I have the SVN
file_column and using LoginEngine/UserEngine with Rails 1.1.2. My
issue is that I''m overloading the view for LoginEngine to support a
file image upload as part of the user record and having a heck of a
time doing so.
Near the bottom of my new _edit.rhtml
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 16
17
LoginEngine / UserEngine conceptual help
All,
I have a small Intranet app I''m trying to get ready for remote access.
(I only have 15 or so users for now and I don''t plan to be adding
very many more.).
I have installed the login engine and it seems to be working as
advertized. (Great job!)
For my needs I don''t want random people to be able to register and get
access to my app, but I will need to register
2006 Jun 07
0
Adding ''author'' functionality to UserEngine / RBAC roles
I''m trying to add / extend the default UserEngine schema
(Guest/User/Admin) to support author only Update/Delete functions. At
the moment, I allow ''Guest'' to read/view all records, and User
additionaly has access to create/edit/destroy, however this means that
any registered user is able to modify any record.
My first thought was to add another filter in the chain
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
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
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 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 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
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 Jun 08
2
LoginEngine: undefined method `generate_security_token''
Hi there,
I''m trying to set up LoginEngine with Rails 1.1.2 on Ruby 1.8.4 on a
Windows XP box and the log is reporting:
undefined method `generate_security_token'' for #<User:0x39436a0>
Rendering user/signup
Rendered user/_edit (0.01600)
Rendered user/_password (0.01600)
Rails appears to be failing on key = @user.generate_security_token in
user_controller.rb in the
2006 Jul 09
1
Problem with LoginEngine
I installed the Engines and loginEngines plugins but when it came to set
up the Database schema.rb, that file is missing from the folder. I have
searched everywhere possible to see if i can get this file and set up
the schema but no success. Anyone with the same problem or know what
the issue could be?
Even the documentation for loginEngine does not show this file anywhere.
Thanks to anyone
2006 Mar 07
2
LoginEngine problem
The LoginEngine plugin of RailsEngines can be show working well in the
video http://rails-engines.rubyforge.org/movies/engines_intro.mov
However it does not work on my pc. I have had the rails 1.0 installed as
well as worked under windows enviroment.
After I have repeated the steps that the video shows,the login action
does not take into effect while not redirect to the home action as the
2006 Jan 22
0
Problem with change_password action in LoginEngine
Hi, I just setup the Login engine and everything seems to be
working... but the change_password action. The fact is that the user
receives the mail telling him to visit the app''s change_password page
in order to enter a new password, but I get an undefined method error
in my controller when rendering <%= error_messages_for ''user'' %>.
Tracking down the issue, I
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