d365-pcf-securityrolemanager
D365 PCF Security Role Manager is a Power Apps Component Framework control designed to manage security role assignments for Users or Teams directly on the form within the Unified Interface. This tool enables administrators and developers to streamline role management by providing an intuitive interface where roles can be assigned or removed via checkboxes. The control operates in near real time by leveraging the WebApi endpoint to process individual changes immediately upon interaction. To ensure data consistency and prevent race conditions, the interface deliberately delays visual updates to the checkbox state until the underlying asynchronous operation successfully completes. Once the assignment or removal is confirmed by the system, the checkbox reflects the new state accurately. This solution is built for the modern Dynamics 365 environment and is available under the MIT license. It serves as a practical alternative to navigating away to complex security role settings pages, allowing for efficient on-form