Permissions problem

I need to develop a plugin using OpenTAP and hope to implement permission management for multiple users. For example, User A should be able to edit steps when using the plugin, while User B should not have editing permissions and can only run the plugin. How can the above functions be achieved?

Hi @alexuo ,

It depends a bit on how your GUI story looks, but the simplest and most generic way would probably be to create an IAnnotator implementation, which always adds an implementation of IAccessAnnotation for all regular members.

in the IAccessAnnotation you can set read only based on the permissions of the current user.

You can read about annotations here: Annotations | OpenTAP