mirror of
https://github.com/crivion/laranode.git
synced 2026-05-06 21:52:34 +08:00
apply correct perms and allow laranode user to browse his home folder
This commit is contained in:
0
app/Events/AccessLogEvent.php
Executable file → Normal file
0
app/Events/AccessLogEvent.php
Executable file → Normal file
0
app/Events/SystemStatsEvent.php
Executable file → Normal file
0
app/Events/SystemStatsEvent.php
Executable file → Normal file
0
app/Events/TopStatsEvent.php
Executable file → Normal file
0
app/Events/TopStatsEvent.php
Executable file → Normal file
0
app/Http/Controllers/DashboardController.php
Executable file → Normal file
0
app/Http/Controllers/DashboardController.php
Executable file → Normal file
0
app/Http/Middleware/AdminMiddleware.php
Executable file → Normal file
0
app/Http/Middleware/AdminMiddleware.php
Executable file → Normal file
0
app/Models/Option.php
Executable file → Normal file
0
app/Models/Option.php
Executable file → Normal file
5
app/Models/User.php
Executable file → Normal file
5
app/Models/User.php
Executable file → Normal file
@@ -88,7 +88,10 @@ class User extends Authenticatable
|
||||
*/
|
||||
public function getSystemUsernameAttribute(): string
|
||||
{
|
||||
return $this->username . '_ln';
|
||||
if ($this->username != 'laranode') {
|
||||
return $this->username . '_ln';
|
||||
}
|
||||
return $this->username;
|
||||
}
|
||||
|
||||
public function websites(): \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
|
||||
0
app/Services/Dashboard/SystemStatsService.php
Executable file → Normal file
0
app/Services/Dashboard/SystemStatsService.php
Executable file → Normal file
0
app/Services/Dashboard/TopCommandService.php
Executable file → Normal file
0
app/Services/Dashboard/TopCommandService.php
Executable file → Normal file
0
database/migrations/0001_01_01_000001_create_cache_table.php
Executable file → Normal file
0
database/migrations/0001_01_01_000001_create_cache_table.php
Executable file → Normal file
0
database/migrations/0001_01_01_000002_create_jobs_table.php
Executable file → Normal file
0
database/migrations/0001_01_01_000002_create_jobs_table.php
Executable file → Normal file
0
public/fonts/satoshi/.DS_Store
vendored
Executable file → Normal file
0
public/fonts/satoshi/.DS_Store
vendored
Executable file → Normal file
0
public/fonts/satoshi/README.md
Executable file → Normal file
0
public/fonts/satoshi/README.md
Executable file → Normal file
0
public/fonts/satoshi/css/satoshi.css
Executable file → Normal file
0
public/fonts/satoshi/css/satoshi.css
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Black.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BlackItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Bold.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-BoldItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Italic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Light.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-LightItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Medium.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-MediumItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Regular.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-Variable.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.eot
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.ttf
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.woff
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.woff2
Executable file → Normal file
0
public/fonts/satoshi/fonts/Satoshi-VariableItalic.woff2
Executable file → Normal file
@@ -240,11 +240,13 @@ const Filemanager = () => {
|
||||
</button>
|
||||
)}
|
||||
|
||||
{/*
|
||||
<button onClick={() => setCopyFiles(true)} className="flex items-center hover:text-indigo-600 disabled:opacity-25" disabled={selectedPaths.length == 0 || cutFiles}>
|
||||
<MdCopyAll className="mr-1" />
|
||||
Copy -tbd
|
||||
</button>
|
||||
|
||||
-- to be added --
|
||||
|
||||
{copyFiles && (
|
||||
<button onClick={() => pasteFiles('paste')} className="flex items-center hover:text-indigo-600 disabled:opacity-25">
|
||||
@@ -252,6 +254,7 @@ const Filemanager = () => {
|
||||
Paste -tbd
|
||||
</button>
|
||||
)}
|
||||
*/}
|
||||
|
||||
<button onClick={() => confirmDelete()} className="flex items-center hover:text-red-600 disabled:opacity-25" disabled={selectedPaths.length == 0}>
|
||||
<LuDelete className="mr-1" />
|
||||
|
||||
0
storage/app/.gitignore
vendored
Executable file → Normal file
0
storage/app/.gitignore
vendored
Executable file → Normal file
0
storage/app/private/.gitignore
vendored
Executable file → Normal file
0
storage/app/private/.gitignore
vendored
Executable file → Normal file
0
storage/app/public/.gitignore
vendored
Executable file → Normal file
0
storage/app/public/.gitignore
vendored
Executable file → Normal file
0
storage/framework/.gitignore
vendored
Executable file → Normal file
0
storage/framework/.gitignore
vendored
Executable file → Normal file
0
storage/framework/cache/.gitignore
vendored
Executable file → Normal file
0
storage/framework/cache/.gitignore
vendored
Executable file → Normal file
0
storage/framework/cache/data/.gitignore
vendored
Executable file → Normal file
0
storage/framework/cache/data/.gitignore
vendored
Executable file → Normal file
0
storage/framework/sessions/.gitignore
vendored
Executable file → Normal file
0
storage/framework/sessions/.gitignore
vendored
Executable file → Normal file
0
storage/framework/testing/.gitignore
vendored
Executable file → Normal file
0
storage/framework/testing/.gitignore
vendored
Executable file → Normal file
0
storage/framework/views/.gitignore
vendored
Executable file → Normal file
0
storage/framework/views/.gitignore
vendored
Executable file → Normal file
0
storage/logs/.gitignore
vendored
Executable file → Normal file
0
storage/logs/.gitignore
vendored
Executable file → Normal file
Reference in New Issue
Block a user