What happen when a channel is removed from a role?

I was searching for a way to delete CBL documents when sync gateway remove a user from a channel (in which the user belongs to).
I found some threads that all point here, where there are some workarounds for telling CBL to delete all channel’s document when the user is removed from the channel.

So It came up to my mind: What about roles?
More precisely: If a channel is removed from a role, all documents in that channel will be set as deleted for the user client? Or it works like a user removed from a channel?

Roles act like users. So if you remove a channel from a role, it will work the same as removing a user from a channel. The users with that role may lose access to a document (depending on the other role/user/channel combinations), but not necessarily. And it won’t send a “removed” notification.