KennethScott / SpecOps

SpecOps is a web-based, centralized PowerShell script repository where non-technical users can run scripts via a user-friendly GUI.
Other
97 stars 6 forks source link

app settings - Roles broken, every user is an admin? #12

Closed mecjunk closed 3 weeks ago

mecjunk commented 3 weeks ago

Does the solution have a functional Windows Auth with roles. I'm finding that ever user is an admin regardless of how I configure the application.config file. Removing the admin role breaks the application as well.

Inquiring as to whether roles was ever implemented or if this would need to be fixed.

mecjunk commented 3 weeks ago

If the admin role is left blank or user assignment is not in the domain\user|group format then it appears all users will receive the admin role. So not exactly a defect but appears to be more of a personal error in the a--settings.conf file

KennethScott commented 3 weeks ago

Thank you for reporting this! I have been wanting to overhaul this app for awhile, but just haven't had time due to other priorities/life right now. I'll definitely put this on the list to address though. Thanks again-

On Thu, Aug 22, 2024, 8:17 AM mecjunk @.***> wrote:

If the admin role is left blank or user assignment is not in the domain\user|group format then it appears all users will receive the admin role. So not exactly a defect but appears to be more of a personal error in the a--settings.conf file

— Reply to this email directly, view it on GitHub https://github.com/KennethScott/SpecOps/issues/12#issuecomment-2304652544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGJBS4JY5PDU3X235EF26LZSXQHVAVCNFSM6AAAAABM4VGMNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBUGY2TENJUGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>