EC-CUBE / EC-CUBE/ec-cube

権限管理のアクセス制限の設定方法改修

Open
#6,242 4 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
PHP
Stars
788
Forks
719
Avg merge
3d 20h
Merged PRs (30d)
45

Description

### 概要(Overview)

現在、店舗設定の基本設定を行うページのURLは"/setting/shop"となっているが、これは店舗設定の支払い方法設定("/setting/shop/payment")や配送方法設定("/setting/shop/dekyvery")といったその他の店舗設定ページの上位のURLとなっている。
これでは、システム設定の権限管理においてURLが前方一致なせいで、基本設定ページはアクセス禁止にしたいが、支払い方法設定などのページはアクセス許可したい場合の設定ができない("/setting/shop"を設定した時点で店舗設定ページがすべてアクセス禁止になる)。

### 期待する内容(Expect) or 要望(Requirement)

店舗設定の基本設定を行うページのURLを"/setting/shop/shop"や"/setting/shop/baseInfo"のように、店舗設定のその他のページのURLの上位のURLとならないようにする。

Contributor guide

Open the contributing guide

Research direction

Start by locating the route or controller for /setting/shop and the related payment and delivery routes, then inspect where system-setting permission URLs are matched. Update the basic-settings path so it is not a parent of the other shop-setting paths, and verify that permissions can deny the basic page while allowing the child pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
authorization, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.