| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor(access): refine permission value object API (#3120) * refactor(access): refine permission value object API * fix(stubs): filter users by role id | 1 个月前 | |
Fixed code style | 6 个月前 | |
Fixed code style | 4 个月前 | |
Fixed code style | 6 个月前 | |
Fixed code style | 6 个月前 | |
Guard AttachmentController's permission check against guests (#3140) checkPermission() only aborted for an authenticated user who lacked the permission; a guest slipped past the abort_if check and then hit an unguarded Auth::user()->hasAccess() call in the middleware closure, turning into an uncaught 500 instead of a 403. Fixes #2861 | 17 天前 | |
Fixed code style | 5 个月前 | |
Skip empty-string selected values in lazy Select choice queries (#3137) Select::lazy() field can end up with an empty string as its selected value (e.g. old('field') after a failed validation on a select left empty). ChoicePayload::selectedItems() ran whereIn() with that blank value anyway, which fails on strict-typed primary key columns like Postgres bigint. Filter out null/empty keys before querying, same as the earlier Matrix field fix in #3040. Fixes #3136. | 21 天前 | |
refactor(access): refine permission value object API (#3120) * refactor(access): refine permission value object API * fix(stubs): filter users by role id | 1 个月前 |