50
An extensions permission set XML will be replaced by the new Permission Set AL Objects. However, the command palette function 'AL: Generate permission set containing current extension objects' still creates an extensionsPermissionSet.xml in the root directory of the extension rather than Permission Set AL Objects.

It would be nice if the existing function either gets the option to select generating the XML files or Permission Set AL objects or a new function is introduced to create Permission Set AL objects containing all objects that are provided by that extension.
Category: Development
STATUS DETAILS
Planned
2022 Release Wave 2
Ideas Administrator

Thank you for this suggestion!

We are supporting this in 2022rw2 with a new command to generate permission set as an AL object, al.generatePermissionSetForExtensionObjects.

When invoking, the developer can chose to create a new permission file or select an existing file to update. 

The previous functionality of creating a permissionset xml file is moved into the command al.generatePermissionSetForExtensionObjectsAsXml.


Comments

H

I agree with Matthew Matthiesen 

currently i am also using the xml because of this can be easily done by command pallet

Category: Development

H

Personally I am sticking with the XML until forced to switch or there's a way to generate the permission object. Managing things like that manually isn't feasible in larger projects.

Category: Development

H

Yes, you should implement this, please. :-) Generating permissions for all objects added in an extension is extremely useful, at least during initial testing phases and as a starting point for more refined permission-sets. There has been a way to generate them until the change in format, and there should be a way to generate them after that. Thanks!

Category: Development

H

That's a great idea! We used "generate permission set" quite often as it helped save quite a lot of time when working on bigger solutions - now it's a bit of pain when you have to do all manually

Category: Development