mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[PR #28] [MERGED] Use Laravel built-in authorization #1131
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/28
Author: @pedroborges
Created: 12/14/2015
Status: ✅ Merged
Merged: 12/15/2015
Merged by: @phanan
Base:
master← Head:use-laravel-authorization📝 Commits (6)
899c717Use Laravel built-in authorizationd21736dFix conflictsdab4486Fix after merge issues8f34dadSatisfy StyleCI5f9f7d9Fix UserPolicy830718fUpdate docblocks📊 Changes
12 files changed (+102 additions, -53 deletions)
View changed files
📝
app/Http/Controllers/API/Controller.php(+2 -0)📝
app/Http/Controllers/API/PlaylistController.php(+11 -23)📝
app/Http/Controllers/API/UserController.php(+8 -10)📝
app/Http/Requests/API/UserUpdateRequest.php(+1 -1)📝
app/Http/routes.php(+1 -1)📝
app/Models/User.php(+1 -0)➕
app/Policies/PlaylistPolicy.php(+17 -0)➕
app/Policies/UserPolicy.php(+16 -0)📝
app/Providers/AuthServiceProvider.php(+6 -1)📝
app/Providers/RouteServiceProvider.php(+3 -2)📝
tests/PlaylistTest.php(+22 -7)📝
tests/UserTest.php(+14 -8)📄 Description
The comment below motivated me to find a better solution for the
repeated authorisation checks:
This is the result.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.