PR

管理画面に編集権限追加 #2770

wada opened this at 2023-05-09T16:20:43; closed

Description

opened by wada at 2023-05-09T16:20:43; updated 2023-05-16T13:32:13

概要

指定ランク以外の編集を制限
デバッグツールとプレゼントのみ制限なし

編集時のクエリをtableに保存

テーブル

CREATE TABLE `cpanel_query_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admin_id` int(10) unsigned NOT NULL,
  `query` text,
  `reg_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

TODO

  • [ ] クエリ確認ページ
wada change_title at 2023-05-10T16:43:33: 管理画面に編集権限追加 【5/12】管理画面に編集権限追加
wada add_label at 2023-05-10T16:43:35: レビュー待ち

Comment

#27372 by wada at 2023-05-10T16:43:41; updated 2023-05-10T16:43:41

@kouho
レビューお願いします。

wada change_title at 2023-05-15T11:42:18: 【5/12】管理画面に編集権限追加 管理画面に編集権限追加
wada close_comment at 2023-05-16T13:32:13: マージ済み

Commit range

baseddf3b78ae7bd32c230a372befba261b28b7ea095
head9410adeecb2670403dac0dbebfe0c6bd01226477
base branchjolly/jr-web:cpanel
head branchjolly/jr-web:cp_account_permit

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed5 filesView patch
statusfile
modifiedcpanel_html/define_cpanel.inc
modifiedcpanel_html/index.php
modifiedcpanel_html/template/m_account_create.tpl
modifiedlib/SubFunc.inc
modifiedlib/cpanel/m_account.inc
Patch body is stored as a separate file to keep this page lightweight.