Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Child Related Object a User Has No Access To #17

Closed
tjsully opened this issue Sep 12, 2018 · 2 comments
Closed

Child Related Object a User Has No Access To #17

tjsully opened this issue Sep 12, 2018 · 2 comments
Assignees
Labels
bug 🐞 App is not working correctly. enhancement ✨ A new feature suggestion or improvement upon an existing feature.

Comments

@tjsully
Copy link

tjsully commented Sep 12, 2018

Hi Doug. First off, thank you for this component. I downloaded the code and, in testing, discovered that, if a user does not have any access to one or more of the specified list of child objects (in my case, Opportunity), an error occurs during object initialization. I am specifying a list of objects in the configuration of the component in App Builder. I know the list is correct because it works fine when a user who has at least read access to all specified related objects runs it. I made a fix to the client controller and was wondering if you would be interested in it.

Also, your code made a great starting point for a similar component I made that handles both files and attachments. My client is starting a prolonged rollout of lightning, and we will have a period of time where we will have both attachments and files in the system, until everyone is off of Salesforce for Outlook and we convert all attachments to files with Magic Mover.

Many thanks,

tom

@douglascayers
Copy link
Owner

Hi @tjsully,

Sorry for the very long delay in following up. Thank you very much for your kind feedback, and I'm glad it's working out for you and you've been able to extend it.

You're welcome to share your code or specific changes you feel would make this project better either as comments on this issue or as a pull request.

Thanks!

@douglascayers douglascayers self-assigned this Jan 28, 2019
@douglascayers douglascayers added enhancement ✨ A new feature suggestion or improvement upon an existing feature. bug 🐞 App is not working correctly. labels Jan 28, 2019
@douglascayers douglascayers added the status/inprogress Currently being developed for a future release. label May 19, 2019
@douglascayers
Copy link
Owner

I'm not able to reproduce the issue where the component errors if the current user does not have access to a child object. For me, that relationship simply isn't shown in the vertical nav on the left side. I believe this is handled by this earlier code.

Others have requested ability for this to include attachments and files. I'll close this issue and open a new enhancement request specifically for attachment support.

If you're still having issues where users without access to a child object encounter an error with this component, let me know and I'll reopen this issue.

Thanks

@douglascayers douglascayers removed the status/inprogress Currently being developed for a future release. label May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐞 App is not working correctly. enhancement ✨ A new feature suggestion or improvement upon an existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants