favgroups: make private favgroups a Gold-only option.

Make private favgroups a Gold-only option. This is for consistency with
private favorites and upvotes being Gold-only options.

Existing Members with private favgroups are allowed to keep them, as
long as they don't disable privacy. If they disable it, then they can't
re-enable it again without upgrading to Gold first.
This commit is contained in:
evazion
2021-11-17 20:11:06 -06:00
parent bc96eb864b
commit a9997d0d2b
8 changed files with 56 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ class FavoriteGroupsController < ApplicationController
end
def new
@favorite_group = authorize FavoriteGroup.new
@favorite_group = authorize FavoriteGroup.new(creator: CurrentUser.user)
respond_with(@favorite_group)
end