Keeping simplicity in mind, how do you implement this?

You are working on a Magento module for a merchant that does business in the UK. This module exposes a REST API endpoint for sending text messages to customers. There is an app based on this REST API which allows admin users to stay in touch with the customers. You would like to restrict the admin’s ability to send text messages after work hours.

Keeping simplicity in mind, how do you implement this?
A . Use the built-in scheduled ACL functionality to configure allow-deny rules in the admin panel
B. Add the check directly to the service method implementation
C. Implement a cron job to change the admin permissions twice a day for everyone who has these permissions set
D. Add aclResolver="MycompanyMyModuleModelPathToAc1Resolver" declaration for the relevant methods in webapi. xbI

Answer: D

Latest AD0-E704 Dumps Valid Version with 89 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments