mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[GH-ISSUE #2916] Disable site creation by standard users - Does not correctly prevent site creation #1444
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#1444
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BPT-CIPP on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2916
Description
Appologies in advance as i am not truly a dev and may not follow usual GitHub etiquette.
The standard currently only changes the "isSiteCreationEnabled" flag, but does not change the "isSiteCreationUIEnabled" flag.
the isSiteCreationUIEnabled flag appears to control if the site creation is allowed through the UI (web).
I am assuming the "isSiteCreationEnabled" flag changes behavior through api/powershell.
I have updated the powershell and tested on my installation and the changes below appear to work
"isSiteCreationUIEnabled": true
"isSiteCreationUIEnabled": false
Invoke-CIPPStandardDisableUserSiteCreate.ps1
updated code:
Environment data
@github-actions[bot] commented on GitHub (Oct 3, 2024):
Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/
If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."
Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".
@BPT-CIPP commented on GitHub (Oct 3, 2024):
I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.
@KelvinTegelaar commented on GitHub (Oct 4, 2024):
That's great! thanks. Let us know if you're on discord and we'll give you a contributor tag!
@BPT-CIPP commented on GitHub (Oct 4, 2024):
I am on discord! - mhollierbpt_51429
Thanks!