How to create package of Users, Groups their Permission by using ACS Commons
- First, Upload ACS Commons Package at your author instance.
- Now, Go to the URL http://localhost:4502/miscadmin.
- Now, Go to acs-commons > Content Packagers.
- Now, Go to acs-commons > Content Packagers.
- Click on New > New Page.
- Give a Title, Select ACL Packager and click on create. (If we select Authorizable Packager User/Group package will create without permissions)
- After page creation, open this page by double click.
- Now, Click on edit.
- Here, In Principal Names, Add items (our user and groups). In Include Patterns give your user/group path (/home/groups/w/wwmCI3vsM7IeAx6D3cqS). And also select the Include Principals check box. Now click on Ok.
- Click on Preview, for preview.
- Click on create package. You would see Success message on top of the page.
- Go to the CRX Package manager to build and download this package.
- Go to the CRX Package manager to build and download this package.
How to put these users and permissions in codebase ?
- So, After downloading this package we need to extract it. Now, Search your User/Group folder inside \jcr_root\home\. In my case, It is \jcr_root\home\groups\w\wwmCI3vsM7IeAx6D3cqS.
- Now, Copy this User/Group folder and paste it in your codebase inside ui.apps (jrc_root/home/groups or jrc_root/home/users).
- Now, Add the filter in filter.xml.
- Now, Build the code on your instance.
By Shadan Aalam
Recent Comments