simple patch to get all privileges after a successful getsystem
git-svn-id: file:///home/svn/framework3/trunk@8321 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
fc6eca57ec
commit
47b08fa6ef
|
@ -70,6 +70,8 @@ class Priv < Extension
|
|||
technique = response.get_tlv_value( TLV_TYPE_ELEVATE_TECHNIQUE )
|
||||
|
||||
if( response.result == 0 and technique != nil )
|
||||
client.core.use( "stdapi" ) if not client.ext.aliases.include?( "stdapi" )
|
||||
client.sys.config.getprivs
|
||||
return [ true, technique ]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue