Skip to content
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

DSC_SqlPermission - "Undefined property permissionstate" error on Dsc versions >15 #2048

Open
sara921-spec opened this issue Oct 3, 2024 · 4 comments
Labels
question The issue is a question. stale The issue or pull request was marked as stale because there hasn't been activity from the community.

Comments

@sara921-spec
Copy link
Contributor

sara921-spec commented Oct 3, 2024

Not an issue mostly, a general question!

I have a Question on this resource "DSC_SqlPermission" (Also "DSC_SqlDatabasePermission") we are currently using Sqlserverdsc version 14 and while updating the version we found that this resource is no more available in the newer versions. looking to use dsc version "17"

Error msg:
"Undefined property permissionstate" can u help me with what is the alternate resource for this ?

@sara921-spec sara921-spec changed the title DSC_SqlPermission DSC_SqlPermission - "Undefined property permissionstate" error on Dsc versions >15 Oct 3, 2024
@sara921-spec
Copy link
Contributor Author

@johlju ^^ if u have any thoughts on this when u get a chance

@johlju
Copy link
Member

johlju commented Oct 5, 2024

In v15 SqlPermission was converted to a class-based resource and refactored. in v16 SqlDatabasePermission was converted to a class-based resource and refactored.

@johlju johlju added the question The issue is a question. label Oct 5, 2024
@johlju
Copy link
Member

johlju commented Oct 5, 2024

It looks like we forgot to add BREAKING entry in the releases notes for this for some reason. :/ At least I can't find any such entry.

See here how to use SqlPermission going forward: https://github.com/dsccommunity/SqlServerDsc/wiki/SqlPermission

Copy link

github-actions bot commented Nov 5, 2024

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 40 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

@github-actions github-actions bot added the stale The issue or pull request was marked as stale because there hasn't been activity from the community. label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question. stale The issue or pull request was marked as stale because there hasn't been activity from the community.
Projects
None yet
Development

No branches or pull requests

2 participants