summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-07-22 11:41:29 +0200
committerCarl Schwan <carl@carlschwan.eu>2021-09-29 21:43:31 +0200
commit6958d8005ae3b86759f49746564bf7238456be52 (patch)
treeaab851e09351c631129e4729aa49c03533ce6180 /resources
parentee987d74303cb38b864f96660cd2ee6d6552ebfd (diff)
downloadnextcloud-server-6958d8005ae3b86759f49746564bf7238456be52.tar.gz
nextcloud-server-6958d8005ae3b86759f49746564bf7238456be52.zip
Add admin privilege delegation for admin settings
This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'resources')
-rw-r--r--resources/app-info-shipped.xsd3
-rw-r--r--resources/app-info.xsd5
2 files changed, 3 insertions, 5 deletions
diff --git a/resources/app-info-shipped.xsd b/resources/app-info-shipped.xsd
index 8fd1d0b25c2..a861b02e6a5 100644
--- a/resources/app-info-shipped.xsd
+++ b/resources/app-info-shipped.xsd
@@ -393,8 +393,7 @@
<xs:complexType name="settings">
<xs:sequence>
- <xs:element name="admin" type="php-class" minOccurs="0"
- maxOccurs="unbounded"/>
+ <xs:element name="admin" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="admin-section" type="php-class" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="personal" type="php-class" minOccurs="0"
diff --git a/resources/app-info.xsd b/resources/app-info.xsd
index f03fd0ed402..65b83a2985c 100644
--- a/resources/app-info.xsd
+++ b/resources/app-info.xsd
@@ -389,9 +389,8 @@
<xs:complexType name="settings">
<xs:sequence>
- <xs:element name="admin" type="php-class" minOccurs="0"
- maxOccurs="unbounded"/>
- <xs:element name="admin-section" type="php-class" minOccurs="0"
+ <xs:element name="admin" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="admin-section" type="php-class" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="personal" type="php-class" minOccurs="0"
maxOccurs="unbounded"/>