X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAuth.pm;h=e8d6c72e1f21a69c48ba400b2c21d623232b5f97;hb=0e60202e4d9de0e0377e63fccc3a2f93e68bd24f;hp=5d0b3c871a9ed65c3c979a6837702770f76ef5b1;hpb=40f16528620535266596fc247109a821031c555d;p=kivitendo-erp.git diff --git a/SL/Auth.pm b/SL/Auth.pm index 5d0b3c871..e8d6c72e1 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -936,7 +936,7 @@ sub all_rights_full { my ($self) = @_; @{ $self->{master_rights} ||= do { - $self->dbconnect->selectall_arrayref("SELECT name, description, category FROM auth.master_rights ORDER BY id"); + $self->dbconnect->selectall_arrayref("SELECT name, description, category FROM auth.master_rights ORDER BY position"); } } }