[yast-devel] permissions rewrite
<jreidinger> schubi: Who is owner of permissions rest service? I found it that implementation is ... not good. I plan to rewrite it to use model, because now it is badly testable. I had the same feeling when I went through the code 2 days ago. I just didn't want to break the RC release (and had some bugs to solve). The work in
irc.suse.de#rails progress is in "refactor-permissions" branch. Martin -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
irc.suse.de#rails
<jreidinger> schubi: Who is owner of permissions rest service? I found it that implementation is ... not good. I plan to rewrite it to use model, because now it is badly testable.
Funny :-) I have written the first version. Klaus has rewritten cause he has had
Martin Kudlvasr schrieb: the opinion that the code is ....not good. I think, that is called "evolution" :-) Feel free to make it better !!!
I had the same feeling when I went through the code 2 days ago. I just didn't want to break the RC release (and had some bugs to solve). The work in progress is in "refactor-permissions" branch.
Martin
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Stefan Schubert write:
Martin Kudlvasr schrieb:
irc.suse.de#rails
<jreidinger> schubi: Who is owner of permissions rest service? I found it that implementation is ... not good. I plan to rewrite it to use model, because now it is badly testable.
Funny :-) I have written the first version. Klaus has rewritten cause he has had the opinion that the code is ....not good.
I think, that is called "evolution" :-)
Feel free to make it better !!!
I had the same feeling when I went through the code 2 days ago. I just didn't want to break the RC release (and had some bugs to solve). The work in progress is in "refactor-permissions" branch.
Martin
Hi, I look at this branch and still it doesn't look like I want (too much functionality in controller). I commit today or on monday my version without Scr and changed how it should look like in RC2 :) -- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast (language,time,basesystem,ntp) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
* Stefan Schubert
irc.suse.de#rails
<jreidinger> schubi: Who is owner of permissions rest service? I found it that implementation is ... not good. I plan to rewrite it to use model, because now it is badly testable. Funny :-) I have written the first version. Klaus has rewritten cause he has had the opinion that
Martin Kudlvasr schrieb: the code is ....not good.
I think, that is called "evolution" :-)
Hehe ;-) I'm all for a careful refactoring of code. Before we start 'hacking away', I'd like to see a clear description of what the 'permissions service' is and what it is not. Btw, see bnc#546521 (fate 306693: User management) and bnc#546522 (fate 307147: Permissions setup) Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Klaus Kaempf write:
* Stefan Schubert
[Nov 06. 2009 13:24]: Martin Kudlvasr schrieb:
irc.suse.de#rails
<jreidinger> schubi: Who is owner of permissions rest service? I found it that implementation is ... not good. I plan to rewrite it to use model, because now it is badly testable.
Funny :-) I have written the first version. Klaus has rewritten cause he has had the opinion that the code is ....not good.
I think, that is called "evolution" :-)
Hehe ;-)
I'm all for a careful refactoring of code.
Before we start 'hacking away', I'd like to see a clear description of what the 'permissions service' is and what it is not.
Btw, see bnc#546521 (fate 306693: User management) and bnc#546522 (fate 307147: Permissions setup)
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Hi, because it is not planned to appliance release I disable setting permission (don't work for me also before change). What I change is way how permission is get for user. So it now report in cleaner way permissions for each module on client side. Client Permissions module now just show what permission specific user has (and prevent any attacks and report problems). I disable modifying permissions for now, but way how it should be done is clean (just need set permissions without Scr.Execute, I prefer own YaPI module which properly secure potential security problems). If you want setting permissions in appliance release open bug and I implement it. Also if you don't like way how it is done, we can discuss it and change it. (and now with properly tested model in backend is easier to refactor behavior). Josef -- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast (language,time,basesystem,ntp) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (4)
-
Josef Reidinger
-
Klaus Kaempf
-
Martin Kudlvasr
-
Stefan Schubert