1 <?php namespace BookStack;
3 class EntityPermission extends Model
6 protected $fillable = ['role_id', 'action'];
7 public $timestamps = false;
10 * Get all this restriction's attached entity.
11 * @return \Illuminate\Database\Eloquent\Relations\MorphTo
13 public function restrictable()
15 return $this->morphTo('restrictable');