Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7pCe-007O3s-DP for pgadmin-support@arkaria.postgresql.org; Thu, 24 Apr 2025 05:32:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u7pCc-00DNGW-9e for pgadmin-support@arkaria.postgresql.org; Thu, 24 Apr 2025 05:32:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7pCc-00DNGM-1G for pgadmin-support@lists.postgresql.org; Thu, 24 Apr 2025 05:32:50 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u7pCY-001iuL-2O for pgadmin-support@lists.postgresql.org; Thu, 24 Apr 2025 05:32:49 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-54e7967cf67so582334e87.0 for ; Wed, 23 Apr 2025 22:32:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1745472765; x=1746077565; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=l03+PxDD7QUvDZeGNvI73RoB+bhH1pOlbgGTRUsyoXk=; b=fx+N2s/223H6hutTo31UHORbAiewOVe8y3tQ4dQ4PjCjWReppvlk7KsaUSnRk/FumP 72t41qDKiziLRMpLP23pR4Vko0vDjsSMELg5mt51ulW9OXTM4JJq5egaNw/To69D4k5g ArcXG4E2aDNSYJEQWMEzHoHfrYUcXXkRKVqqk4UqUYUOngCd6JNOZLkRs8m778tByR5w jFCrt6Z53fPAKfIphA3vfkY1E5U27vzumdZp6zOtLN9sX7MHbBXu2jfxhsiQR3wWVTvS ckGp6UaEZVqWWQEynrmYg9SNBVCiFh0+Hn1Cfvre8PSFjhJuCDwAV9vUVAtCZ6Qn7AdX ec4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745472765; x=1746077565; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l03+PxDD7QUvDZeGNvI73RoB+bhH1pOlbgGTRUsyoXk=; b=IAPOQ27l6hJnf0PhwxY3sYY4Pi5ScvOXfEg72cnKB+seuT+b08Xhz2kTE5tlsBP/NA o/EQQ+Va3m+ecqyS6KZ9Vp408Gjb9Ewj3lD9kpPcWHj12AZNDc4eis4euNwJKPKRuc2c 1AVIUlxAP1pQT6YKELomNqIv1FJ2dJLCyyhW4v6JDQNusipJnrQtUHbcFbUwOT4fIl5b j69L1XLaqFljRen71Kat+9tEuUcYwYsZP+y9/4uqVc56X2yRsr/xZx69tDia99gVpSOS 9Vr8jl0LD1SDCuilc5bvNXw+AhorImYKe7tJYVpianqBst06CdrbwMvz2S6J0pM0xS51 K9ig== X-Gm-Message-State: AOJu0YxTuaFKk9XTuqN7dOOFDeUIMZ3tokluHXGvlGyv+rIFN7DU3Pdv h4dkTTHFHYNnpuPT4WjvZTTFtjqEOuUpcPnKgUJZcBUItIqz3zGiHEP7GAEgmSQXuhfPntbM41+ RSV5/S4+Li6gs3bOvAlQ9GN9Wv7QHDILszQaK0tiGfQ5Tp6xExQ== X-Gm-Gg: ASbGncsWAD8ugaiVZN6d2gN3UtlZYBRZSYWzwoVkGDjPzfxqudkb4j43PzxBOZMmc4R sZCAhwbtp4pq+pUzVH4QGcG1sE/yOkUd6YYAA4OWGW8Hl/nRilI8Lq1W64GU4fQRz0toBDY0sIT vJ0HqtFBta624KGL2qQLETPbEO3VM3KI6tQnpE9lr+qpV+SSQy/lYjh/A= X-Google-Smtp-Source: AGHT+IFjXh5xPcIuS3T76i4xcXOERjhOCbqZwHesPpZ1o7nIuuTQT7+vPShJqvPZ9aQMPdPFp64y/Kqb73TIDFN9XtQ= X-Received: by 2002:a05:6512:2255:b0:545:cc2:accd with SMTP id 2adb3069b0e04-54e7c4225ebmr328483e87.20.1745472765330; Wed, 23 Apr 2025 22:32:45 -0700 (PDT) MIME-Version: 1.0 References: <2094241112.614816.1745454418891.ref@mail.yahoo.com> <2094241112.614816.1745454418891@mail.yahoo.com> In-Reply-To: <2094241112.614816.1745454418891@mail.yahoo.com> From: Akshay Joshi Date: Thu, 24 Apr 2025 11:02:33 +0530 X-Gm-Features: ATxdqUGPioYWJKhRZNXQlFq-c8ZBmkMEONEGxktgxqZ1chbEOWsyJnFtB4k-K8w Message-ID: Subject: Re: Assign Role based on Table Cell value To: =?UTF-8?B?w4Yg4oCi?= Cc: "pgadmin-support@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000024a12206337f8c39" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000024a12206337f8c39 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, pgAdmin 4 includes a Row Level Security (RLS) Policy ( https://www.pgadmin.org/docs/pgadmin4/9.2/rls_policy_dialog.html#index-0) feature, which you can try=E2=80=94it may help resolve the issue. On Thu, Apr 24, 2025 at 5:57=E2=80=AFAM =C3=86 =E2=80=A2 wrote: > I have several users accessing PostgreSQL database managed through > pgAdmin. The database consists of a table with several columns and rows. = I > want to grant permission to certain users to write/edit certain certain > rows based on the value of a certain cell i.e., if cell value =3D x than = user > 123 has edit rights. From what I have understood, the Grant Wizard grants > access to the entire table. Is there anyway be more granular in granting > access/assigning roles? > Thanks > --00000000000024a12206337f8c39 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

pgAdmin 4 includes a Row Level Secu= rity (RLS) Policy (https://www.pgadmin.org/docs/pgadmin4/9.2/rls_= policy_dialog.html#index-0) feature, which you can try=E2=80=94it may h= elp resolve the issue.

On Thu, Apr 24, 2025 at 5= :57=E2=80=AFAM =C3=86 =E2=80=A2 <h= iwire03@yahoo.com> wrote:
I have se= veral users accessing PostgreSQL database managed through pgAdmin. The data= base consists of a table with several columns and rows. I want to grant per= mission to certain users to write/edit certain certain rows based on the va= lue of a certain cell i.e., if cell value =3D x than user 123 has edit righ= ts. From what I have understood, the Grant Wizard grants access to the enti= re table. Is there anyway be more granular in granting access/assigning rol= es?
Thanks
--00000000000024a12206337f8c39--