Martin Vidner napsal(a):
On Mon, Jun 15, 2009 at 12:10:12PM +0200, Stefan Schubert wrote:
So it makes no sense for the admin who has to set the concerning rights setting each single language right for each user. He only wants to set that the user has read or write access.
We can solve this by using structured name:
org.opensuse.yast.modules.yapi.language.getlanguages org.opensuse.yast.modules.yapi.language.getcurrentlanguage
Should become:
org.opensuse.yast.modules.yapi.language.get-languages org.opensuse.yast.modules.yapi.language.get-currentlanguage
So we are able to generate a tree structure of the rights like get -languages -currentlanguage
Which can be shown in the UI and the admin has to select the root branch "get" or "set" only in order to change the permission for all "child" rights. This will be handled by the permission rest-service of WebYaST.
So you're introducing a regrouping of the action ID, by dashes instead of by dots.
I actually thought that it was a bug, so I fixed it in the webclient: http://git.opensuse.org/?p=projects/yast/web-client.git;a=commitdiff;h=c9af4...
I think that it is a futile attempt to overcome the initial problem of having too many permissions to deal with. How about removing them instead? That means not having the complete "API" of YaST accessible via DBus, but it is not a real API anyway. Instead, we should build the API to fit the permissions.
What about use two tool over permissions? So we provide via dbus atomic permission to change one enclosed atribute and then have in webyast client for changing permission which provide agregate permissions and can change set of atomic permissions like Change http server which ensure that all atomic permission needed for http server is provided (of course provide info what atomic permission it is). I think that for admins is more important what exactly can user change (single values) then high level abstraction permission which can change more then admin want. Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org