File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ def do_permissions(self, args):
369
369
self .stdout .write ("Has ApplicationContext: YES\n " )
370
370
self .stdout .write ("Available Permissions:\n " )
371
371
for permission in sorted (self .permissions ()):
372
- if permission != " com.WithSecure.dz.permissions.GET_CONTEXT" :
372
+ if permission not in [ "GET_CONTEXT" , " com.WithSecure.dz.permissions.GET_CONTEXT", "com.mwr.dz.permissions.GET_CONTEXT" ] :
373
373
self .stdout .write (" - %s\n " % (permission ))
374
374
else :
375
375
self .stdout .write ("Has ApplicationContext: NO\n " )
@@ -573,6 +573,8 @@ def permissions(self):
573
573
self .__permissions .append (str (permission ))
574
574
575
575
self .__permissions .append ("com.WithSecure.dz.permissions.GET_CONTEXT" )
576
+ self .__permissions .append ("com.mwr.dz.permissions.GET_CONTEXT" )
577
+ self .__permissions .append ("GET_CONTEXT" )
576
578
elif self .__permissions == None :
577
579
self .__permissions = []
578
580
You can’t perform that action at this time.
0 commit comments