Set framework files to readonly

Hi everybody,

I have the situation that I want to restrict developers from working in specific files of my framework.
So for example, when starting a project from my framework template, I want the process.xmal to be editable, but the main.xmal to be readonly.

Is there any option to make this setting?

Best & thanks!

@l.z.pruemm

Welcome to the community

unfortunately you dont have that option to restrict based on xaml

cheers

Hi @l.z.pruemm,

Agree with @Anil_G.

However, you can achieve your goal using Git/Azure DevOps, but through governance (policies, approvals, libraries) but not by locking the file in Studio.

Thanks!

hey @l.z.pruemm
Restrict File Access in UiPath Framework you can try this Solutions:

Windows File System Permissions (BEST & SIMPLEST)
Locate your framework template folder
Right-click main.xaml → PropertiesSecurity tab
Click Edit → Select user/group → Uncheck “Modify” → Apply
Users can read/view but cannot edit/save
Keep process.xaml with full permissions
When developers open main.xaml, it opens as read-only in Studio.

Please let me know if it’s’s helpful to you