-
Notifications
You must be signed in to change notification settings - Fork 133
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
プラグインを無効にして再度インストールするとアクセスルール設定が重複して登録される #3990
Comments
@ryuring |
@cu-akasakay ありがとうございます、アクセスルールを登録するのは、最初のインストールの際だけにして、再有効化の際は登録しないようにする感じですかね。 |
@ryuring 修正案としては作成直前でpermission_group_id、user_group_id、urlをキーに存在確認をして、 現状は全てのユーザー -> 管理ユーザーのみに変更してもアクセスルールが削除されていないので |
@cu-akasakay という事は、アンインストール時(無効化時)に、対象データを削除するというのが一番キレイな形になるかもですね。 |
@ryuring |
概要
例えば、ブログプラグインを無効化して、再度インストールした場合、アクセスルールグループより、ブログ記事の設定編集画面に移動すると、設定が重複して登録されている。
baserCMS version : 5.1.3
TODO
The text was updated successfully, but these errors were encountered: