+
+ Require the{' '}
+ {userPermissionRequirements.length === 1
+ ? 'permission'
+ : 'permissions'}
+ :
+
+ {WzPermissionsFormatted(userPermissionRequirements)}
+
+ )}
+ {userPermissionRequirements && userRolesRequirements && (
+
+ Require{' '}
+ {userRolesRequirements
+ .map(role => (
+ {role}
+ ))
+ .reduce((prev, cur) => [prev, ', ', cur])}{' '}
+ {userRolesRequirements.length > 1 ? 'roles' : 'role'}
+
+ )}
+