plus

operator fun PermissionSet.plus(permission: Permission): PermissionSet(source)

Returns a set containing all permissions of the original set and then the given permission if it isn't already in this set.


operator fun PermissionSet.plus(permissions: Array<out Permission>): PermissionSet(source)

Returns a set containing all permissions of the original set and then the given permissions array, which aren't already in this set.


operator fun PermissionSet.plus(permissions: PermissionSet): PermissionSet(source)

Returns a set containing all permissions of the original set and then the given permissions collection, which aren't already in this set.