mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 04:46:52 +01:00 
			
		
		
		
	* allow to assign nodes to roles * fix typo * fix node policy * small ui improvements * add missing translation * make phpstan happy * fix migration on mysql * also restrict mounts & database hosts to allowed nodes * fix migration on mysql v2 * changes from review * fix hasManyThrough * change `accessibleNodes` to builder Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com> --------- Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			185 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			185 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Models;
 | 
						|
 | 
						|
use Illuminate\Database\Eloquent\Relations\Pivot;
 | 
						|
 | 
						|
class NodeRole extends Pivot
 | 
						|
{
 | 
						|
    protected $table = 'node_role';
 | 
						|
 | 
						|
    protected $primaryKey = null;
 | 
						|
}
 |