For permission grant/revoke, fix the edge case involving last set of permissions before ungrouped: permissions
For permission grant/revoke, fix the edge case involving last set of permissions before ungrouped: permissions

ashishb/adb-enhanced