From: Dani Mezher <dany.mezher@fi.usj.edu.lb>
To: pgsql-admin@postgresql.org
Subject: Urgent!!!! Setting permissions on Views
Date: Thu, 12 Feb 2004 10:52:59 -0800
Message-ID: <002e01c3f199$6fb52a60$b501a8c0@FI.USJ.EDU.LB> (raw)
Hello,
I have a small problem setting the permissions for my data.
Actually my application allows specific users to manipulate selected
tuples stored in the same tables. Therefore, I revoked all privileged on
the tables and encapsulated them through views based on the "user"
variable. This way specific users control specific data.
The problem arises when I try to lock my data once it was
validated. Although I set the permissions on the views to select and
revoked the insert, update and delete privileges; my users are capable
of modifying the table through the views. I even tried to revoke the
select permission but this does not solve the problem.
Can anyone help me fix this problem???
Regards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dany.mezher@fi.usj.edu.lb
Subject: Re: Urgent!!!! Setting permissions on Views
In-Reply-To: <002e01c3f199$6fb52a60$b501a8c0@FI.USJ.EDU.LB>
References: <002e01c3f199$6fb52a60$b501a8c0@FI.USJ.EDU.LB>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox