Re: Issues with roles

From: Dave Page <dpage(at)postgresql(dot)org>
To: "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Issues with roles
Date: 2007-01-26 16:52:33
Message-ID: 45BA31D1.6060905@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Andy Shellam (Mailing Lists) wrote:
> Dave Page wrote:
>> Andy Shellam (Mailing Lists) wrote:
>>> Andy Shellam (Mailing Lists) wrote:
>>>> A couple of niggly little issues with the roles in PgAdmin 1.6.2 on
>>>> an 8.2.1 server.
>>>>
>>>> When you click Login/Group Roles in the object explorer, you cannot
>>>> right-click and do "new role" like you can with Databases and
>>>> Tablespaces.
>>>> Also the "New object of this type" button is not enabled when you
>>>> click New group/login role - you have to add a new role by
>>>> right-clicking the server connection, New Object... New Group/Login
>>>> Role.
>>>>
>>>> Any chance of having this sorted for the next release?
>>>>
>>>> Thanks,
>>>>
>>>
>>> You also cannot drop a role from PgAdmin as all the Edit menu items
>>> are greyed out, except Properties.
>>
>> All works for me. Are you sure the user you are logging in as has
>> CREATEROLE privileges?
>
> OK just discovered something weird... you're right in saying the user
> doesn't have 'create role' privelege, however, if I right-click the
> server connection, new object, new role, it works - and the role gets
> created within the server because I can use psql on the server to
> connect with the new role - only snag is once you've added the role in
> PgAdmin, you have to Refresh the login role list manually (right-click
> Refresh.)
>
> Perhaps it's because I have super-user ticked for this user? If so,
> does that override the CREATE ROLE privelege?
>
> I can send some screenshots showing the process if needed.

No thanks - I got it. Patch applied to SVN.

Thanks, Dave.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2007-01-26 17:03:20 Re: Make find what field active
Previous Message Andy Shellam (Mailing Lists) 2007-01-26 15:10:29 Re: Issues with roles