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

feat(pages): Allow admin with manage rights to view pages that arent visible #1135

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

SpeedyD
Copy link
Contributor

@SpeedyD SpeedyD commented Nov 24, 2024

Let us preview the pages! We're admin! We got rank powers!.. wait, I feel like I said this before.

Anyway, allows users with the edit_pages rank power to view pages while they're not viewable.

And of course, my traditional fa-eye-slash icon for those invisible items.

...Feels like I should've done this at the same time I added the functionality for sales and news posts, huh..

@itinerare itinerare added enhancement New feature or request needs review Pull requests that are pending community review labels Nov 24, 2024
app/Models/SitePage.php Outdated Show resolved Hide resolved
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Nov 24, 2024
@itinerare itinerare merged commit 97130ae into corowne:develop Nov 24, 2024
3 checks passed
@SpeedyD SpeedyD deleted the feat/admin-pages-visiblity branch November 24, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants