DeDe
DeDe
Explore posts from servers
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
okay, i've found my mistake i think. No permissions have profiles predefined with the value inside the docker-compose.yml AUTH_LDAP_OWNER_ADMINS AUTH_LDAP_OWNER_OWNER AUTH_LDAP_OWNER_USERS I was thinking groups are created with a predefined permissions profiles and sync from ldap using values set into the docker-compose.yml, To make ldap rights functional, it's necessary to manually create the groups and add the rights with the default admin account.
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
No description
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
homarr | 2025-04-24T14:54:53.872Z debug: Executed SQL query: select "group_id", "user_id", (select json_array("name") as "data" from (select * from "group" "groupMembers_group" where "groupMembers_group"."id" = "groupMembers"."group_id" limit ?) "groupMembers_group") as "group" from "groupMember" "groupMembers" where "groupMembers"."user_id" = ?
homarr | 2025-04-24T14:54:53.873Z debug: Homarr does not have the user in certain groups. user=r36ad6sozqrvrqg8dn399dkj count=14
homarr | 2025-04-24T14:54:53.874Z debug: Executed SQL query: select "id" from "group" "groups" where "groups"."name" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
homarr | 2025-04-24T14:54:53.874Z debug: Homarr has found groups in the database user is not in. user=r36ad6sozqrvrqg8dn399dkj count=0
homarr | 2025-04-24T14:54:53.875Z debug: User is already in all groups of Homarr. user=r36ad6sozqrvrqg8dn399dkj
homarr | 2025-04-24T14:54:53.876Z debug: Executed SQL query: select "id", "name", "owner_id", "home_board_id", "mobile_home_board_id", "position", (select coalesce(json_group_array(json_array("group_id", "user_id")), json_array()) as "data" from "groupMember" "groups_members" where ("groups_members"."group_id" = "groups"."id" and "groups_members"."user_id" = ?)) as "members" from "group" "groups" where "groups"."name" = ? limit ?
homarr | 2025-04-24T14:54:53.877Z info: User 'testuser' logged in at 2025-04-24T16:54:53+02:00
homarr | 2025-04-24T14:54:53.872Z debug: Executed SQL query: select "group_id", "user_id", (select json_array("name") as "data" from (select * from "group" "groupMembers_group" where "groupMembers_group"."id" = "groupMembers"."group_id" limit ?) "groupMembers_group") as "group" from "groupMember" "groupMembers" where "groupMembers"."user_id" = ?
homarr | 2025-04-24T14:54:53.873Z debug: Homarr does not have the user in certain groups. user=r36ad6sozqrvrqg8dn399dkj count=14
homarr | 2025-04-24T14:54:53.874Z debug: Executed SQL query: select "id" from "group" "groups" where "groups"."name" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
homarr | 2025-04-24T14:54:53.874Z debug: Homarr has found groups in the database user is not in. user=r36ad6sozqrvrqg8dn399dkj count=0
homarr | 2025-04-24T14:54:53.875Z debug: User is already in all groups of Homarr. user=r36ad6sozqrvrqg8dn399dkj
homarr | 2025-04-24T14:54:53.876Z debug: Executed SQL query: select "id", "name", "owner_id", "home_board_id", "mobile_home_board_id", "position", (select coalesce(json_group_array(json_array("group_id", "user_id")), json_array()) as "data" from "groupMember" "groups_members" where ("groups_members"."group_id" = "groups"."id" and "groups_members"."user_id" = ?)) as "members" from "group" "groups" where "groups"."name" = ? limit ?
homarr | 2025-04-24T14:54:53.877Z info: User 'testuser' logged in at 2025-04-24T16:54:53+02:00
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
I have this
homarr | 2025-04-24T14:54:53.839Z info: user testuser is trying to log in using LDAP. Connecting to LDAP server...
homarr | 2025-04-24T14:54:53.846Z info: Connected to LDAP server. Searching for user...
homarr | 2025-04-24T14:54:53.851Z info: User testuser found in LDAP. Logging in...
homarr | 2025-04-24T14:54:53.855Z info: User testuser logged in successfully, retrieving user groups...
homarr | 2025-04-24T14:54:53.858Z info: Found 14 groups for user testuser.
homarr | 2025-04-24T14:54:53.860Z debug: Executed SQL query: select "id", "name", "image", "email", "email_verified", "provider" from "user" "users" where ("users"."email" = ? and "users"."provider" = ?) limit ?
homarr | 2025-04-24T14:54:53.862Z debug: Executed SQL query: insert into "session" ("session_token", "user_id", "expires") values (?, ?, ?) returning "session_token", "user_id", "expires"
homarr | 2025-04-24T14:54:53.870Z debug: Executed SQL query: select "name", "color_scheme" from "user" "users" where "users"."id" = ? limit ?
homarr | 2025-04-24T14:54:53.839Z info: user testuser is trying to log in using LDAP. Connecting to LDAP server...
homarr | 2025-04-24T14:54:53.846Z info: Connected to LDAP server. Searching for user...
homarr | 2025-04-24T14:54:53.851Z info: User testuser found in LDAP. Logging in...
homarr | 2025-04-24T14:54:53.855Z info: User testuser logged in successfully, retrieving user groups...
homarr | 2025-04-24T14:54:53.858Z info: Found 14 groups for user testuser.
homarr | 2025-04-24T14:54:53.860Z debug: Executed SQL query: select "id", "name", "image", "email", "email_verified", "provider" from "user" "users" where ("users"."email" = ? and "users"."provider" = ?) limit ?
homarr | 2025-04-24T14:54:53.862Z debug: Executed SQL query: insert into "session" ("session_token", "user_id", "expires") values (?, ?, ?) returning "session_token", "user_id", "expires"
homarr | 2025-04-24T14:54:53.870Z debug: Executed SQL query: select "name", "color_scheme" from "user" "users" where "users"."id" = ? limit ?
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
I will check tomorrow 😉
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
Hi, the groups are already created, but the users in theses groups not giving the rights (Homarr_admins => AdministratorPanel)
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
homarr | 2025-04-16T11:13:48.158Z info: Connected to LDAP server. Searching for user...
homarr | 2025-04-16T11:13:48.175Z info: User testuser found in LDAP. Logging in...
homarr | 2025-04-16T11:13:48.185Z info: User testuser logged in successfully, retrieving user groups...
homarr | 2025-04-16T11:13:48.190Z info: Found 12 groups for user testuser.
homarr | 2025-04-16T11:13:48.210Z info: User testuser not found in the database. Creating...
homarr | 2025-04-16T11:13:48.233Z info: User testuser created successfully.
homarr | 2025-04-16T11:13:48.269Z info: Added user to everyone group.
homarr | 2025-04-16T11:13:48.158Z info: Connected to LDAP server. Searching for user...
homarr | 2025-04-16T11:13:48.175Z info: User testuser found in LDAP. Logging in...
homarr | 2025-04-16T11:13:48.185Z info: User testuser logged in successfully, retrieving user groups...
homarr | 2025-04-16T11:13:48.190Z info: Found 12 groups for user testuser.
homarr | 2025-04-16T11:13:48.210Z info: User testuser not found in the database. Creating...
homarr | 2025-04-16T11:13:48.233Z info: User testuser created successfully.
homarr | 2025-04-16T11:13:48.269Z info: Added user to everyone group.
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
homarr | 2025-04-16T09:48:25.957Z info: Found 14 groups for user testuser.
homarr | 2025-04-16T09:48:25.957Z info: Found 14 groups for user testuser.
With this configuration (i've try with dn as owner / admin group)
AUTH_LDAP_SEARCH_SCOPE: sub
AUTH_LDAP_GROUP_CLASS: group
AUTH_LDAP_GROUP_MEMBER_ATTRIBUTE: member
AUTH_LDAP_GROUP_MEMBER_USER_ATTRIBUTE: dn
AUTH_LDAP_OWNER_GROUP: Homarr_owners
AUTH_LDAP_ADMIN_GROUP: Homarr_admins
AUTH_LDAP_SEARCH_SCOPE: sub
AUTH_LDAP_GROUP_CLASS: group
AUTH_LDAP_GROUP_MEMBER_ATTRIBUTE: member
AUTH_LDAP_GROUP_MEMBER_USER_ATTRIBUTE: dn
AUTH_LDAP_OWNER_GROUP: Homarr_owners
AUTH_LDAP_ADMIN_GROUP: Homarr_admins
Groups are detected but rights are not applied
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
No description
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
I've done before posting 😉
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
Yes
21 replies
HHomarr
Created by DeDe on 4/16/2025 in #💬・get-help
Admin groups - right permissions assignment
flat ?
21 replies
HHomarr
Created by DeDe on 4/15/2025 in #💬・get-help
Can't authenticate with ldap
it's okay, my bad, "s" missing from the older config file, problem was between the chair and the keyboard ! thanks for your help !
7 replies
HHomarr
Created by DeDe on 4/15/2025 in #💬・get-help
Can't authenticate with ldap
The homarr log
2025-04-15T08:36:32.953Z info: user testuser was not found
2025-04-15T08:36:32.953Z error: Read more at https://errors.authjs.dev#credentialssignin name="Q" type="CredentialsSignin" kind="signIn" code="credentials"
at nS (/app/apps/nextjs/.next/server/chunks/279.js:382:44968)
at async nO (/app/apps/nextjs/.next/server/chunks/279.js:382:54146)
at async nH (/app/apps/nextjs/.next/server/chunks/279.js:382:58397)
at async d (/app/apps/nextjs/.next/server/app/api/auth/[...nextauth]/route.js:1:2815)
at async tf.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:18835)
at async tf.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:23727)
at async doRender (/app/node_modules/next/dist/server/base-server.js:1513:42)
at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/next/dist/server/base-server.js:1915:28)
at async NextNodeServer.renderPageComponent (/app/node_modules/next/dist/server/base-server.js:2403:24)
at async NextNodeServer.renderToResponseImpl (/app/node_modules/next/dist/server/base-server.js:2440:32)
2025-04-15T08:36:32.953Z info: user testuser was not found
2025-04-15T08:36:32.953Z error: Read more at https://errors.authjs.dev#credentialssignin name="Q" type="CredentialsSignin" kind="signIn" code="credentials"
at nS (/app/apps/nextjs/.next/server/chunks/279.js:382:44968)
at async nO (/app/apps/nextjs/.next/server/chunks/279.js:382:54146)
at async nH (/app/apps/nextjs/.next/server/chunks/279.js:382:58397)
at async d (/app/apps/nextjs/.next/server/app/api/auth/[...nextauth]/route.js:1:2815)
at async tf.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:18835)
at async tf.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:23727)
at async doRender (/app/node_modules/next/dist/server/base-server.js:1513:42)
at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/next/dist/server/base-server.js:1915:28)
at async NextNodeServer.renderPageComponent (/app/node_modules/next/dist/server/base-server.js:2403:24)
at async NextNodeServer.renderToResponseImpl (/app/node_modules/next/dist/server/base-server.js:2440:32)
7 replies
FFilament
Created by DeDe on 5/11/2024 in #❓┊help
Select keep index value in memory
Hi ! This is my code (not clean i know 😅 ) I want to return only "active" value in the dropdown, hiding the others "desactivate" values
7 replies
FFilament
Created by DeDe on 4/22/2024 in #❓┊help
How to not display data in widget table except if a filter is selected ?
Sorry, i've search without the good searchs terms !
8 replies
FFilament
Created by DeDe on 4/22/2024 in #❓┊help
How to not display data in widget table except if a filter is selected ?
No description
8 replies
FFilament
Created by DeDe on 4/22/2024 in #❓┊help
How to not display data in widget table except if a filter is selected ?
Thanks you , i will try !
8 replies
FFilament
Created by DeDe on 4/25/2024 in #❓┊help
validation.unique is show in FR language
Thanks, it's now fixed !
5 replies
FFilament
Created by Fally on 3/19/2023 in #❓┊help
Any suggestions on speeding up filament?
Dev/debug mode is disabled ? Filament running slow when is it in these mode with Laragon
13 replies