mirror of https://github.com/apache/archiva.git
131 lines
3.6 KiB
XML
131 lines
3.6 KiB
XML
<model>
|
|
<roles>
|
|
<role>
|
|
<id>1</id>
|
|
<name>Base</name>
|
|
<description>Permissions common to all roles.</description>
|
|
<assignable>false</assignable>
|
|
<permissions>
|
|
<permission>
|
|
<id>100</id>
|
|
<name>Modify Myself</name>
|
|
<operation>
|
|
<id>1000</id>
|
|
<name>modify-user</name>
|
|
<resourceRequired>true</resourceRequired>
|
|
<resource>
|
|
<identifier>USERNAME</identifier>
|
|
<pattern>false</pattern>
|
|
</resource>
|
|
</operation>
|
|
</permission>
|
|
</permissions>
|
|
</role>
|
|
<role>
|
|
<id>2</id>
|
|
<name>Administrator</name>
|
|
<description>Site Administrator</description>
|
|
<assignable>true</assignable>
|
|
<permissions>
|
|
<permission>
|
|
<id>101</id>
|
|
<name>Regenerate Index</name>
|
|
<operation>
|
|
<id>1001</id>
|
|
<name>regenerate-index</name>
|
|
<resourceRequired>false</resourceRequired>
|
|
</operation>
|
|
</permission>
|
|
<permission>
|
|
<id>102</id>
|
|
<name>Modify All Users</name>
|
|
<operation>
|
|
<id>1002</id>
|
|
<name>modify-all-users</name>
|
|
<resourceRequired>false</resourceRequired>
|
|
</operation>
|
|
</permission>
|
|
</permissions>
|
|
<roles>
|
|
<role>
|
|
<id>1</id>
|
|
<name>Base</name>
|
|
<description>Permissions common to all roles.</description>
|
|
<assignable>false</assignable>
|
|
<permissions>
|
|
<permission>
|
|
<id>100</id>
|
|
<name>Modify Myself</name>
|
|
<operation>
|
|
<id>1000</id>
|
|
<name>modify-user</name>
|
|
<resourceRequired>true</resourceRequired>
|
|
<resource>
|
|
<identifier>USERNAME</identifier>
|
|
<pattern>false</pattern>
|
|
</resource>
|
|
</operation>
|
|
</permission>
|
|
</permissions>
|
|
</role>
|
|
</roles>
|
|
</role>
|
|
</roles>
|
|
<assignments>
|
|
<assignment>
|
|
<principal>admin</principal>
|
|
<roles>
|
|
<role>
|
|
<id>2</id>
|
|
<name>Administrator</name>
|
|
<description>Site Administrator</description>
|
|
<assignable>true</assignable>
|
|
<permissions>
|
|
<permission>
|
|
<id>101</id>
|
|
<name>Regenerate Index</name>
|
|
<operation>
|
|
<id>1001</id>
|
|
<name>regenerate-index</name>
|
|
<resourceRequired>false</resourceRequired>
|
|
</operation>
|
|
</permission>
|
|
<permission>
|
|
<id>102</id>
|
|
<name>Modify All Users</name>
|
|
<operation>
|
|
<id>1002</id>
|
|
<name>modify-all-users</name>
|
|
<resourceRequired>false</resourceRequired>
|
|
</operation>
|
|
</permission>
|
|
</permissions>
|
|
<roles>
|
|
<role>
|
|
<id>1</id>
|
|
<name>Base</name>
|
|
<description>Permissions common to all roles.</description>
|
|
<assignable>false</assignable>
|
|
<permissions>
|
|
<permission>
|
|
<id>100</id>
|
|
<name>Modify Myself</name>
|
|
<operation>
|
|
<id>1000</id>
|
|
<name>modify-user</name>
|
|
<resourceRequired>true</resourceRequired>
|
|
<resource>
|
|
<identifier>USERNAME</identifier>
|
|
<pattern>false</pattern>
|
|
</resource>
|
|
</operation>
|
|
</permission>
|
|
</permissions>
|
|
</role>
|
|
</roles>
|
|
</role>
|
|
</roles>
|
|
</assignment>
|
|
</assignments>
|
|
</model>
|