Skip to content

Add metadata in config to indicate a config requires admin, non-admin, system #258

Closed
@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature / enhancement

Some configurations may require admin or may require user to not be admin to apply. The actual configuration can use an AssertionGroup to a resource that checks if user is elevated/root. However, it might make sense to also have this info in the metadata property of the configuration, but this would just be documentation.

Proposed technical implementation details (optional)

  • Is this metadata doc only or used by DSC for static analysis?
  • Runtime check could be a resource to check user context and used with AssertionGroup, for example
  • Should have well-defined tags for resources that require elevation, etc… and how would this feed into the metadata or at all?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions