To assign privileges, the GRANT command is
- used. For example, if joe is an existing user, and
+ used. For example, if joe is an existing role, and
accounts is an existing table, the privilege to
update the table can be granted with:
- The special user
name PUBLIC can
- be used to grant a privilege to every user on the system. Also,
+ The special role
name PUBLIC can
+ be used to grant a privilege to every role on the system. Also,
group> roles can be set up to help manage privileges when
there are many users of a database — for details see
.