We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ddde25 commit 8a4cd65Copy full SHA for 8a4cd65
1 file changed
ckanext/digitizationknowledge/logic/auth.py
@@ -22,12 +22,6 @@ def group_show(context: Context, data_dict: DataDict) -> AuthResult:
22
user = context.get('user')
23
group = logic_auth.get_group_object(context, data_dict)
24
25
- # We need the group object to check 'private'
26
- group = model.Group.get(group_id)
27
- if not group:
28
- # Delegate to core if not found, it will handle it (404)
29
- return {'success': True}
30
-
31
# Check if 'is_private' is set in extras
32
is_private = group.extras.get('is_private', False)
33
0 commit comments