Restrict user to build & Install package on Prod Author | Adobe Higher Education
Skip to main content
Level 4
February 26, 2024

Restrict user to build & Install package on Prod Author

  • February 26, 2024
  • 4 Antworten
  • 1562 Ansichten

Hi Devs/Archs,

                i Have a requirement to restrict user to build and install prod author through package manager. when user clicks on build or install, should show an error message as "you should not build or install on Prod author". Kindly help me is there any override option available to show the error message.

Environment : AEMasCS.

 

Thanks in advance.

 

Dieses Thema wurde für Antworten geschlossen.

4 Antworten

Kamal_Kishor
Community Advisor
Community Advisor
February 26, 2024

@rajat168 : This can be managed with permissions at this path:- /etc/packages/my_packages

Please refer these articles on how to provide/restrict access to package manager

  1. https://helpx.adobe.com/experience-manager/kb/LimitAccessToPackageManager.html
  2. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/what-user-permissions-for-package-manager-crx-packmgr/m-p/317373

thanks.

Imran Khan
Community Advisor
Community Advisor
February 26, 2024
Level 4
February 26, 2024

Hi @imran__khan  & @kamal_kishor , 

  Thanks for your prompt response, could you please help me on updating the error message like i mentioned "you should not build or install on Prod author"

Imran Khan
Community Advisor
Community Advisor
February 28, 2024

@rajat168 To change text Access Denied we have to debug and deep dive into AEM provided files within crx/de and overlay the same.

narendragandhi
Community Advisor
Community Advisor
February 26, 2024

Hi @rajat168 

 

As you mentioned you are doing this in AEMaaCS, so the code/config are immutable at runtime and can anyway not be installed from the package manager. Refer to this article for details - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploying/overview.html?lang=en

 

With that authors can only build or install content packages using package manager, and if the requirement is to not have them access to it, then it might be better to just hide it using the methods suggested by @imran__khan and @kamal_kishor 

 

Hope this helps and let us know for any additional questions.

 

Thanks

Narendra

Level 4
February 26, 2024

Hi @narendragandhi , thanks for your comments. Could you please help me on configuring permission for restriction of build and install for a user under /etc/packages/my_packages.

kautuk_sahni
Community Manager
Community Manager
February 28, 2024

@rajat168 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
Level 4
February 29, 2024

Hi @kautuk_sahni , i couldn't find any useful solution.