-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document that GroupId attribute cannot override parent Group in UserPrivileges:LocalGroupMember #25
Comments
That's strange, it's even used in demos, like here, maybe you can compare with that? |
It is,, I lifted the code from your example.. :) I thought tags were evaluated individually. BTW, where is you schema ? Here is the component:
|
I did a bit more playing with the issue. It seems LocalGroupMember does not support a GroupId overide for when nested under local group. When I move the LocalGroupMember outside of LocalGroup nesting, the unexpected GroupId error is resolved; only to be replaced with another error.. You may consider "fixing" this with some documentation :) It's be easier for you than me (sorry) |
That makes sense! The schema is here. |
Of course it'd be easier for me to do it @garymazz because you wouldn't have to do it :) It works both ways. Thanks for surfacing this either way. |
Thanks for running with this. I'm very late on a deadline and need to fix issues in several open source projects, 4 alone with installation and a CI system. My issue is time, coming up to speed on all these OSS projects simultaneously.-, plus getting something to ship. After next friday, I'll have breathing room.. |
After going though UserPrivilegesCompiler.cs, I understood how UserId and GroupId worked. There is no overrides for GroupId when LocalGroupMember nested under LocalGroup. There is no override for UserId when nested under LocalUser. Both are just syntactic candy. I'll update the doc and add some comments to your examples as soon as I get the project building on VS 2015. |
Hi,
I received an error "
The UserPrivileges:LocalGroupMember element contains an unexpected attribute 'GroupId'.
"From the doc it appears GroupId attribute is valid.
Can you tell me what I'm doing wrong ?
The text was updated successfully, but these errors were encountered: