Error when adding role to new user #50
Unanswered
Iainreynard
asked this question in
Q&A
Replies: 3 comments
-
I have exactly the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi
Yes, we ended up writing a roles resource…. please see attached the resource folders for both the User and Roles. Hopefully this assists.
On 22 Nov 2023, at 13:21, yenx2023 ***@***.***> wrote:
I have exactly the same problem.
Did you find a solution?
—
Reply to this email directly, view it on GitHub<#50 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGCM2TWLVPHSUITC6GUDNYLYFXN3XAVCNFSM6AAAAAA6UDUPPSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMNBRGE3DC>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks you for your response. the problem apparently is disabling model guard in AppServiceProvider |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi - I have implemented the filament-access-control plugin as per the instructions. However, when I create a new user, and what to assign them a role (ie: "staff"), I get the following error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'role' in 'field list'
update
filament_users
SET
role
= 2,filament_users
.updated_at
= 2023 -10 -28 14: 04: 32WHERE
id
= 3I have run all the migrations - not sure what I could be missing. Apologies if its a silly mistake.
Thanks,
Iain
Beta Was this translation helpful? Give feedback.
All reactions