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(admin): allow admin to view deleted content #957

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n1rwana
Copy link
Member

@n1rwana n1rwana commented Aug 11, 2023

Добавляет нормальное отображение пользователей в логах, а также просмотр некоторого удаленного контента

@n1rwana n1rwana changed the title Отображение пользователей и удаленного контента [Логи] Отображение пользователей и удаленного контента Aug 11, 2023
if ($object->isDeleted()) {
if ($this->queryParam("del")) {
if ($this->assertPermission("admin", "access", -1)) {
$this->flash("warn", "Обратите внимание", "Вы просматриваете удаленный контент. Его видят только администраторы");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i18n?

@veselcraft veselcraft changed the title [Логи] Отображение пользователей и удаленного контента feat(admin): allow admin to view deleted content Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants