Comments (3)
In our use case what we needed was adding profile properties to some test groups and to some test users. The idea is something like this:
- testuser1:
- path: '/home/users/app'
password: xx
isMemberOf: group1
description: test user1
profile:
- propertyName1: value 1
propertyName2: value 2
where the properties have custom names. And the same for groups.
from accesscontroltool.
@carlosmorenoin the problem with the proposed syntax is, that it is hard to specify property types and a more complex structure (sub folders that potentially require proper primary types etc.).
Would a syntax similar to the initialContent feature that relies on vlt work for you:
- testuser1:
- path: '/home/users/app'
password: xx
isMemberOf: group1
profileContent: |
<jcr:root jcr:primaryType="nt:unstructured"
description="test user1"
strProp="strVal"
boolProp="{Boolean}true" />
IMHO this is more future proof and YAML allows with |
multi-line strings out-of-the-box.
from accesscontroltool.
Merged #77
from accesscontroltool.
Related Issues (20)
- Everyone deny is not moved to the top
- Use SafeConstructor with Snakeyaml
- /oak:index/repACL-custom-1 triggers an AEMaaCS Code Validation error - Standard format not followed HOT 4
- YAML files are not consistent after deploy HOT 2
- Hook's main class not found
- Prevent warnings "Unexpected changes (38) performed on a non-default mount" during AEMaaCS first Startup Hook execution HOT 3
- Race condition between ACTool and Apache Aries Whiteboard support for JMX DynamicMBean services
- Issues with wildcard usage in paths containing names starting with digits HOT 6
- AC tool new permissions not reflecting after upgrading to 3.0.10 in AEM as a cloud 2023.12.14697.20231215T125030Z
- When using variables in initialContent, allow to properly escape them HOT 1
- [AEMaaCS] Issue with isMemberOf property HOT 5
- Create groups in Adobe IMS automatically
- Not generated records /libs
- Export Users in CSV format (compatible with Admin Console)
- Getting Root node is not accessible Error while applying
- Only allow users with elevated permissions to download a dump
- Expose StringUtils.capitalize() via EL
- RuntimeExceptions thrown from YamlMacroProcessorImpl are not enriched with YAML source file name and position
- IllegalArgumentException thrown in YamlConfigurationValidator not properly logged
- Ensure the index for rep:ACL is correctly detected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accesscontroltool.