Confirm User engine clobbers active web service actions

Hello

Ive been learning / implementing AWS

Thanks to the wonderful pdf by orielly I was able to spot a problem with
the
User Engine

I would like to see if anyone else has had problems with this??

Basically if you make a web service at /products

You should be able to reach /product/wsdl and get a well formatted xml
doc

If you have a login engine on it seems fine but as soon as you install
user
engine it

Errors with no action repsoneded to wsdl

If you look insdie the role permissions there is no actions for api or
wsdl

Clayton C. wrote:

Hello

You should be able to reach /product/wsdl and get a well formatted xml
doc

If you have a login engine on it seems fine but as soon as you install
user
engine it

Errors with no action repsoneded to wsdl

You are correct. I reported this quite a while back, but apparently it
has not been fixed. In user engine is a command that hides the wsdl
command - literally hides it. The following line is in
authorized_system.rb in the user engine.

  hide_action :action_method_names, :wsdl, :deepcopy

Remove :wsdl and things should work again.

Keith

On 7 Jun 2006, at 00:59, Clayton C. wrote:

If you look insdie the role permissions there is no actions for api
or wsdl
Add them to the table then. Or (I’ve not done web services in Rails
yet) if the process involves creating a method within the controller,
rake sync_permissions might pick it up.

Otherwise, creating them is as simple as adding an entry to the
permissions table.


Paul R.

The user engine doesn’t look for any web services, so it could
definitely use some patch-based love here. Please do work something up
and submit it to the Collaboa site.

  • james

It would seem so,

I tried just adding it to the permissions table but im still getting no
action

Ill look into it