Search Postgresql Archives

Re: Views and permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christian Schröder wrote:
> Indeed, you are right! Granting select permission to the "ts_frontend" 
> user (more precisely: granting membership to the "zert_readers" role) 
> solved the problem.
>
>> This is strange because ts_frontend can select from "EDITORS" because
>> of the membership to role zert_readers.
>
> No, the user "ts_frontend" is (was) not a member of the group 
> "zert_readers", but the user "www" who uses the view is.

My mistake, I got confused in your role hierarchy.
Anyway, the problem is solved, and the cause is clear :^)

Yours,
Laurenz Albe

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux