mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 00:14:48 +00:00
fix: members cannot manage subscriptions
This commit is contained in:
1 parent
36c31dcd67
commit
8fe658bacc
5 files changed
+9
-3
No files matched your search
@@ -11,6 +11,9 @@ class Show extends Component
|
||||
if (!isCloud()) {
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
if (auth()->user()->isMember()) {
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
if (!data_get(currentTeam(), 'subscription')) {
|
||||
return redirect()->route('subscription.index');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user