-
Notifications
You must be signed in to change notification settings - Fork 393
Add user cover preset model #11081
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
Add user cover preset model #11081
Conversation
be0b49c
to
d9f6120
Compare
Route::post('user-cover-presets/batch-activate', 'UserCoverPresetsController@batchActivate')->name('user-cover-presets.batch-activate'); | ||
Route::resource('user-cover-presets', 'UserCoverPresetsController', ['only' => ['index', 'store', 'update']]); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't these go under /admin
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not if we're going to allow this to be accessible by non-admin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be very nice to have it under /admin
now in the console page, highly doubt any other usergroup will get access to this.
(another side effect is me having to look back at this PR each time to remember the route lol)
is it the input is resizable 👀 |
Just the models. Not linked to user just yet (and would otherwise depend on #10804). The management page ended up weirder than expected 👀 probably can use some more javascripts/react but this basic one seems to somehow work.
No idea what group should have access to this yet so admin only for now.
Tests to be added later. Maybe.
Oh and there's bug with simple form's input which I'm not fixing here.