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

Give access to standard objects #52

Open
FabienTaillon opened this issue Jul 31, 2019 · 2 comments
Open

Give access to standard objects #52

FabienTaillon opened this issue Jul 31, 2019 · 2 comments

Comments

@FabienTaillon
Copy link
Contributor

When no --object flag is passed, all objects are supposed to have access rights, but this only works for custom objects.

@mshanemc
Copy link
Owner

So even if the standard objects are in local source, they're being ignored?

@FabienTaillon
Copy link
Contributor Author

Yes. I think this is because the code is only handling objects with a '__c' , '__e' and '__b' suffix, here.

I tried to add standard objects, but same as what I did for fields, I need to use describe because not all objects accept all type of permissions. For instance, PriceBook doesn't allow View All and Modify All.

Then I need to understand what in the describe can help me deduct these values. As I was running out of time I just reverted back, submitted my PR as is, and created an issue to remember. I may be able to fix it myself later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants