Displaying 20 results from an estimated 41 matches for "userengin".
Did you mean:
userengine
2005 Dec 09
7
UserEngine - rake bootstrap aborted
...p
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
I''ve commented out the following:
# We need to wrap around the old edit
# alias :old_edit :edit
# def edit
# @all_roles = Role.find_all.select { |r| r.name !=
# UserEngine.config(:guest_role_name) }
# old_edit
# end
(vendor/plugins/user_engine/app/controllers/user_controller.rb)
It appears to have worked correctly and created the the default roles.
Is this just depreciated code/bug, or will i run into problems later on?
Cheers,
-v
--
keys: http://codex.ne...
2006 Aug 10
2
Authentication: UserEngine or own creation?
...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 existing UserEngine for authentication
stuff, or if I should write my own...
I guess that the UserEngine needs quite a lot of performance because it
makes so many calls to the DB. And it only has controller/action pairs
that it can validate, so I don''t think that it fits my needs.
I rather thought about...
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 rather in a subfolder. I have my admin
controllers separated in their o...
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 thoug...
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...
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...
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 account to have a
relationship. I have in my Profile model:
class Profile < ActiveRecord::Base
has_one :...
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...
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
...|
require file_name #if /_controller.rb$/ =~ file_name
end
AFTER CHANGE:
# we need to load all the controllers...
controller_files.sort.each do |file_name|
require file_name #if /_controller.rb$/ =~ file_name
end
I also made the change in the KNOWN ISSUES page of UserEngines regarding the
addition of the following lines in the appropriate place:
guest.save
admin.save
user.save
Other than this, I can''t find anywhere that anyone else has reported this
issue.
Has anyone seen this or experienced this type of issue before?
Thanks,
~damon
-------------- next par...
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/e...
2006 Mar 16
0
UserEngine and the test environment
...ns"
Permission.sychronize_controllers
PermissionSynchronized = true
end
which ensures my permissions are created for the test environment.
The only thing missing is now roles. How should I map them ? Should
I write a SQL copy of the dev DB to the test DB ?
This is my first exposure to UserEngine.
Thanks for any help !
--
Fran?ois Beausoleil
http://blog.teksol.info/
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&...
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
2006 May 23
6
How to list all models of an application?!?
How can I get a list of all model classes in the domain of a Rails
application (all models, both in "app/models" and in
components/somedir/model.rb)?
Thanx in advance for your precious help!
Edoardo "Dado" Marcora
2006 Mar 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is
going to be for existing apps? I''m finishing up my first real RoR
application with Rails 1.0. I can live with it staying at that level,
but I really want to use the has_many :through attribute to clean up
some of my code.
I''m not particularly interested in edge Rails, mainly because the
documentation for
2006 Feb 15
3
UserEngine testing
Hi Everybody,
I''m playing around with the engines created by James Adam and I bumped
into the following.
I would like the rake bootstrap command to use the testing database and
I just know there''s
an easy way to do so.
I could have just copied the dev db''s to the test db''s but I think I''m
missing something fundamental here.
Hints are very welcome.
2005 Dec 31
9
Railspdf plugin problem
...ailspdf/
The problem is that when i re-started my webrick it won''t run, with errors
messages like this (shown only first message):
*D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
/lib/active_suppo
rt/dependencies.rb:200:in `const_missing'': uninitialized constant UserEngine
(Na
meError)*
*--etc---*
**
I am using latest preview of InstantRails, with login_engine and user_engine
installed. Seems that Railspdf plugin has confilct with user_engine plugin.
But when i deleted the railspdf directory in /vendor/plugins and started
webrick, it run without any problems.
I am...
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 file I put in:
<tr><td><%= file_field("user",...
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