How to allow only manager role to edit data in application?

Hi Everyone,

Can anyone please tell me, how can I implement that only manager role can edit the data from the front end in the application. I have craeted a edit button in the application but do not know how to implement that only managers role can edit.

  Discussion posts and replies are publicly visible