Sales and Service products will be created by two teams that will use second-generation managed package(s). The Sales team will use a specific function of the Service product, but the architect wants to ensure that this team will only use the functions exposed by the Service team. No other team will use these same functions. What should an architect recommend?
A. Create two managed packages. Create an authentication function in the Service package that will return a token if a Sales user is authorized to call the exposed function. Validate the token in the Service functions.
B. Create two second generation managed packages with the same namespace and set the methods that should be shared with the @namespaceAccessible annotation. Most Voted
C. Create two managed packages with Sales and Service namespaces. Set the methods to be shared with the @salesAccessible annotation.
D. Create a managed package with both products and create a code review process with an approver from each team.
Suggest answer: C
Reference:
No comments:
Please share to make the community better.