From e5eed1fa1783f2cd0a63f6f986057f454cfbc01f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 22 Dec 2019 15:44:48 +0100 Subject: [PATCH] Make mandatory the protected attribute in LDAP permission --- data/templates/slapd/yunohost.schema | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/templates/slapd/yunohost.schema b/data/templates/slapd/yunohost.schema index e7398e621..472518f35 100644 --- a/data/templates/slapd/yunohost.schema +++ b/data/templates/slapd/yunohost.schema @@ -27,8 +27,8 @@ objectclass ( 1.3.6.1.4.1.17953.9.2.1 NAME 'groupOfNamesYnh' objectclass ( 1.3.6.1.4.1.17953.9.2.2 NAME 'permissionYnh' DESC 'a Yunohost application' SUP top AUXILIARY - MUST cn - MAY ( groupPermission $ inheritPermission $ URL $ isProtected ) ) + MUST ( cn $ isProtected ) + MAY ( groupPermission $ inheritPermission $ URL ) ) # For User objectclass ( 1.3.6.1.4.1.17953.9.2.3 NAME 'userPermissionYnh' DESC 'a Yunohost application'