127.0.0.1:7777> acl setuser a on >123 allkeys allcommands &channel (error) ERR Error in ACL SETUSER modifier '&channel': Adding a pattern after the * pattern (or the 'allchannels' flag) is not valid and does not have any effect.

Comment From: startjava

127.0.0.1:7777> flushall
OK
127.0.0.1:7777> acl list
1) "user default on nopass sanitize-payload ~* &* +@all"
127.0.0.1:7777> acl setuser a on >123 allkeys allcommands &channel*
(error) ERR Error in ACL SETUSER modifier '&channel*': Adding a pattern after the * pattern (or the 'allchannels' flag) is not valid and does not have any effect. Try 'resetchannels' to start with an empty list of channels
127.0.0.1:7777>

it is bug??

Comment From: sundb

@startjava The user default ACL permissions include allchannels, so you can change command to acl setuser a on >123 allkeys allcommands resetchannels &channel*, or change default config acl-pubsub-default to resetchannels.

Comment From: startjava

@sundb thank you very big package !

Comment From: leijianzhong001

@startjava The user default ACL permissions include allchannels, so you can change command to acl setuser a on >123 allkeys allcommands resetchannels &channel*, or change default config acl-pubsub-default to resetchannels.

you are right