hyperion-mx
hyperion-mx
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
Can Breezy also use email code as 2FA? thats interesting I havnt looked into it yet!
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
you dont need enableSanctumTokens() I had it for other functionality so you can remove it for your use case
11 replies
FFilament
Created by jgreco on 5/29/2024 in #❓┊help
Fileupload on registration page - 419 error
why not taking a different approach?
1- user register as normal
2- registration success redirect to next step to upload the ID
2.5- user status updated to pending ID upload (in case they leave before they upload)
3- finish upload and show thank you we will review etc
3.5- status updated to pending review
from now on the middleware redirect them to Pending Review Page until approved then they access as normal
1- user register as normal
2- registration success redirect to next step to upload the ID
2.5- user status updated to pending ID upload (in case they leave before they upload)
3- finish upload and show thank you we will review etc
3.5- status updated to pending review
from now on the middleware redirect them to Pending Review Page until approved then they access as normal
6 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
no worries
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
public function canAccessPanel(Panel $panel): bool
{
return $this->is_admin;
}
public function canAccessPanel(Panel $panel): bool
{
return $this->is_admin;
}
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
in your case you can do
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
public function canAccessPanel(Panel $panel): bool
{
// here decide your logic if they can access or not
}
public function canAccessPanel(Panel $panel): bool
{
// here decide your logic if they can access or not
}
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
and implement the method
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
on the User model implement FilamentUser
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
yes and you can decide which one can and which one can not based on any logic you want
14 replies
FFilament
Created by TheSoulrester on 10/5/2024 in #❓┊help
Login auth check if user is admin
when you say "Allowed to login to backend" you mean if you allow them access to Filament Panel?
14 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
and when I created the new project I used Breeze and when installed it I only used the Breeze API but you can use it anyway you like
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
BreezyCore::make()
->myProfile(
hasAvatars: true,
)
->enableTwoFactorAuthentication()
->enableSanctumTokens(),
BreezyCore::make()
->myProfile(
hasAvatars: true,
)
->enableTwoFactorAuthentication()
->enableSanctumTokens(),
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
class DashboardPanelProvider extends PanelProvider {
........
class DashboardPanelProvider extends PanelProvider {
........
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
here is how am using it
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
CustomersPanelProvider in Breezy? Why Customers and not AdminPanel...
you can have any panel. the CustomerPanel is an example
11 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
myself, all my projects use Breeze and Breezy plugin never missed a tick, I would highly suggest considering it
15 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
but, seems the plugin has few issues, even with fresh project
15 replies
FFilament
Created by Steff on 10/5/2024 in #❓┊help
Activate stephenjude-two-factor-authentication?
I just tried to replicate your issue with fresh project, seems to be working fine
15 replies