File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -922,6 +922,32 @@ and write and read permissions on all resources:
922922.sp
923923.Dl rabbitmqctl set_permissions -p my-vhost janeway Qo ^janeway-.* Qc Qo .* Qc Qq .*
924924.\" ------------------------------------------------------------------
925+ .It Cm set_permissions_globally Ar username Ar conf Ar write Ar read
926+ .Bl -tag -width Ds
927+ .It Ar username
928+ The name of the user to grant access to the specified virtual host.
929+ .It Ar conf
930+ A regular expression matching resource names for which the user is
931+ granted configure permissions.
932+ .It Ar write
933+ A regular expression matching resource names for which the user is
934+ granted write permissions.
935+ .It Ar read
936+ A regular expression matching resource names for which the user is
937+ granted read permissions.
938+ .El
939+ .Pp
940+ Sets user permissions in all vhosts.
941+ .Pp
942+ For example, this command instructs the RabbitMQ broker to grant the
943+ user named
944+ .Qq janeway
945+ access to all virtual hosts with configure permissions on all resources whose names starts with
946+ .Qq janeway- ,
947+ and write and read permissions on all resources:
948+ .sp
949+ .Dl rabbitmqctl set_permissions_globally janeway Qo ^janeway-.* Qc Qo .* Qc Qq .*
950+ .\" ------------------------------------------------------------------
925951.It Cm set_topic_permissions Oo Fl p Ar vhost Oc Ar user Ar exchange Ar write Ar read
926952.Bl -tag -width Ds
927953.It Ar vhost
You can’t perform that action at this time.
0 commit comments