circles icon indicating copy to clipboard operation
circles copied to clipboard

Allow do disable certain circle types

Open doobry-systemli opened this issue 5 years ago • 3 comments

It would be nice to add admin options for enabling/disabling certain types of circles. As an example, on a public Nextcloud instance with high privacy expectations, we'd like to disable closed circles.

People keep creating closed circles without realizing that those circles can be seen by every user on the Nextcloud instance. Private and secret circles are invisible by definition, public circles are expected to be visible to everyone, but closed circles often confuse our users.

Therefore we would really appreciate an option to disable closed circles altogether.

doobry-systemli avatar Feb 13 '20 10:02 doobry-systemli

Hi @doobry-systemli,

FYI, You can already enable only one circle type, if you want:

// Circle types mapping:
const CIRCLES_PERSONAL = 1;
const CIRCLES_SECRET = 2;
const CIRCLES_CLOSED = 4;
const CIRCLES_PUBLIC = 8;
# To authorized only secret circles, run this command:
php occ config:app:set circles --value 2 allow_circles

Have a good day, Tortue Torche

tortuetorche avatar Feb 18 '20 10:02 tortuetorche

And you can use multiple circles types, if you make an addition of the wanted circle type values. So if you want to show only CIRCLES_PERSONAL, CIRCLES_CLOSED and CIRCLES_PUBLIC types: 1 + 4 + 8 = 13

php occ config:app:set circles --value 13 allow_circles

tortuetorche avatar Feb 20 '20 10:02 tortuetorche

In the new version of circles you cannot select the type of circle you want.

Can you disable the "Visible to everyone" flag to some groups of users?

In our case we have a lot of students and teachers. We would like to avoid the creation of circles "visible to everyone" except for some administrator groups.

ferfebles avatar Jan 12 '22 14:01 ferfebles