Discussion:
[Erp5-dev] Currency Exchange Cell portal type definition
Łukasz Nowak
2008-08-28 08:49:13 UTC
Permalink
Hello,

Currency Exchange Cell do not have any security-related workflow
associated. But it do not have Acquire Local Roles set.

Is it a bug, or shall I set security separately set for Currency
Exchange Cell portal type?

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Aurélien Calonne
2008-08-28 09:25:13 UTC
Permalink
Post by Łukasz Nowak
Hello,
Currency Exchange Cell do not have any security-related workflow
associated. But it do not have Acquire Local Roles set.
Is it a bug, or shall I set security separately set for Currency
Exchange Cell portal type?
I think there is no local roles defined on Currency Exchange Cells because
they can only be modified throught the listbox on the Currency Exchange Line.
And so it depends on local roles defined on the line. It even seems there is
no default view for cells so no way to modified them except passing through
the line.
--
Aur?lien
Łukasz Nowak
2008-08-28 09:45:32 UTC
Permalink
Hello,
Post by Aurélien Calonne
Post by Łukasz Nowak
Hello,
Currency Exchange Cell do not have any security-related workflow
associated. But it do not have Acquire Local Roles set.
Is it a bug, or shall I set security separately set for Currency
Exchange Cell portal type?
I think there is no local roles defined on Currency Exchange Cells because
they can only be modified throught the listbox on the Currency Exchange Line.
And so it depends on local roles defined on the line. It even seems there is
no default view for cells so no way to modified them except passing through
the line.
Yes - you are right. Currency Exchange Cells are created/edited from
level of Currency Exchange Line using category currency_exchange_type.

But what I meant, is, that as Currency Exchange Cell do not acquire
local roles from its parent they are unaccessible for normal users. Am
wrong or right? (Maybe I wasn't able to explain what had happened in my
system - but what I see, is that eg. Sale Order Cell do acquire local
roles, and are used in similar conditions as Currency Exchange Cell,
which do not acquire local roles, so that I spotted this error.)

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Yoshinori Okuji
2008-08-28 10:32:18 UTC
Permalink
Post by Aurélien Calonne
Post by Łukasz Nowak
Hello,
Currency Exchange Cell do not have any security-related workflow
associated. But it do not have Acquire Local Roles set.
Is it a bug, or shall I set security separately set for Currency
Exchange Cell portal type?
I think there is no local roles defined on Currency Exchange Cells because
they can only be modified throught the listbox on the Currency Exchange
Line. And so it depends on local roles defined on the line. It even seems
there is no default view for cells so no way to modified them except
passing through the line.
Generally speaking, this is a wrong behavior, and it should have been fixed
after _edit in Base had been modified.

The implementation of Currency Exchange Cell in erp5_base is pretty bad. We
are planning to fix it in near future.

YO
--
Yoshinori Okuji, Nexedi KK President / Nexedi SA CTO
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.co.jp/
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com/
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org/
Loading...