Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserAccessPolicy missing #792

Closed
1 task done
deanjesper opened this issue Feb 23, 2024 · 3 comments · Fixed by #793
Closed
1 task done

UserAccessPolicy missing #792

deanjesper opened this issue Feb 23, 2024 · 3 comments · Fixed by #793
Assignees
Labels
bug Something isn't working

Comments

@deanjesper
Copy link

deanjesper commented Feb 23, 2024

Issue verification check:

  • is the current repository fully deployable at the commit SHA provided with the 'from' parameter of the command?

What is the problem?


UserAccessPolicy isn't being picked up as a change

e.g. if I have a file called Admin.useraccesspolicy-meta.xml in the useraccesspolicies folder, when sfdx sgd:source:delta runs, it doesn't pick up these files.

What is the parameter and the value you used with it?

N/A

What is the expected result?

User Access Policies should be picked up

What is the actual result?

User Access Policies are not picked up (delta folder is empty)

Steps to reproduce


Create a User Access Policy, retrieve the metadata, commit metadata to branch, push branch, create PR, run pipeline with sfdx sgd:source:delta command

Execution context


N/A - latest version of sfdx-git-delta

From searching the repo, I couldn't find UserAccessPolicy in any of the metadata version files

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_useraccesspolicy.htm

@deanjesper deanjesper added the bug Something isn't working label Feb 23, 2024
@deanjesper
Copy link
Author

This should be as easy as adding:

{ "directoryName": "useraccesspolicies", "inFolder": false, "metaFile": false, "xmlName": "UserAccessPolicy" }

to v57+

@scolladon
Copy link
Owner

I'll give it a shot soon, it will be available next week if everything goes fine

Copy link

Shipped in release v5.37.0.
You can install the new version using the version number or the latest-rc channel

$ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install sfdx-git-delta@v5.37.0

Happy incremental deployment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants