Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function __construct()
- {
- $this->middleware('auth');
- $this->middleware('permission:company-list', ['only' => ['index','list']]);
- $this->middleware('permission:company-create', ['only' => ['create','store']]);
- $this->middleware('permission:company-edit', ['only' => ['edit','update']]);
- $this->middleware('permission:company-delete', ['only' => ['destroy','delete']]);
- $this->middleware('permission:company-view', ['only' => ['show']]);
- // Only Super Admin Can Access
- $this->middleware('role:' . User::ROLE_SUPER_ADMIN); // Single Role
- $this->middleware('role:' . implode('|', [User::ROLE_SUPER_ADMIN])); // Multiple Role
- }
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=czltedjldd
- This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment