Hi there,
I am currently migrating our PyRevit based plugin suite from 5.3 to 6.4 and ran into what appears to be a problem with the new C# loader. It seems that the authusers field in extensions.json is completely ignored, therefore breaking the per-user extension filtering our plugin suite depends on.
Environment: pyRevit 5.3.1 → 6.4.0, Revit 2024–2027
In PyRevit 5.3 and older the authusers field allowed passing a list of usernames per extension to control who sees it — allowing a single shared folder with multiple extensions and handling visibility in the background with minimum additional effort:
{
"name": "some-extension",
"type": "extension",
"authusers": ["username_a", "username_b"],
"url": "...",
"dependencies": ["Lib"]
}
With the new C# loader this field is silently ignored and all extensions are loaded for all users regardless of the list.
I was looking at the PyRevit CLI and found that it could do the same thing, but for me the effort of getting it running and maintaining the deployment pipeline isn’t really worth it compared to the much simpler solution of using extensions.json.
At the moment I am forcing every user back to the old loader via user_config.core.new_loader = False in a startup script, but that is not a long term solution. It would be great to know whether this is a known gap, a planned deprecation, or something that was missed in the port — so we know whether to wait for a fix or look for an alternative approach.
Thanks for your help and to all who are working to get the new C# loader polished, great work!