From 04fb212bc0fea084e6c1aabaa0987f3111512eb9 Mon Sep 17 00:00:00 2001 From: Blake Mason Date: Thu, 29 Feb 2024 16:48:07 -0800 Subject: [PATCH] [B] PublicRegistration enabled & publicSchema viewable users narrowed - publicRegistration seems to be needed to allow Oauth registration - public graphql schema only needs to view educator and student groups --- .../schemas/cec04a25-43ba-4f4c-81bd-b71f48731b5a.yaml | 3 ++- api/config/project/project.yaml | 5 ----- api/config/project/users/users.yaml | 5 +++-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/api/config/project/graphql/schemas/cec04a25-43ba-4f4c-81bd-b71f48731b5a.yaml b/api/config/project/graphql/schemas/cec04a25-43ba-4f4c-81bd-b71f48731b5a.yaml index be424ff..35dc4a6 100644 --- a/api/config/project/graphql/schemas/cec04a25-43ba-4f4c-81bd-b71f48731b5a.yaml +++ b/api/config/project/graphql/schemas/cec04a25-43ba-4f4c-81bd-b71f48731b5a.yaml @@ -26,5 +26,6 @@ scope: - 'volumes.7a4c811e-eb74-4c4b-ae64-134f2a4e2c3e:read' # Datasets - 'globalsets.aee57b4f-2623-44fc-af2b-c670f6e1babe:read' # Site information - 'globalsets.0edce3a2-c596-4238-9dde-212c83d5a65f:read' # Menu Content - - 'usergroups.everyone:read' + - 'usergroups.d8be03ce-7aeb-4141-b40e-ec39ec1c796f:read' # Educators + - 'usergroups.461e1254-37f7-4aeb-81a1-3f08d2463d06:read' # Students - 'categorygroups.90aa9610-a9c9-4531-95f8-d0068046ae25:read' # Sort Options diff --git a/api/config/project/project.yaml b/api/config/project/project.yaml index 717a0c2..761ace2 100644 --- a/api/config/project/project.yaml +++ b/api/config/project/project.yaml @@ -133,7 +133,6 @@ meta: 17b9b8a2-978a-4cd8-a7da-f5b3d77e1ed3: 'Graph Bars' # Graph Bars 021f7cc6-93ec-4da4-9566-8d05c64d1725: Default # Default 23ca3082-ab51-4658-9872-cf7f31a9bd56: Images # Images - 24e5bfd8-45a1-4e03-a9ee-e013a26057ec: 'Light Curve Tool' # Light Curve Tool 25c0fbe7-5180-4842-bb9e-d530e9fb2042: Radius # Radius 25eb3834-cb4a-46d7-823a-a135a16b9677: 'Save Point' # Save Point 27af84b2-9ccb-416c-ae38-872fdca1f5c0: Layout # Layout @@ -163,12 +162,10 @@ meta: 461e1254-37f7-4aeb-81a1-3f08d2463d06: Students # Students 0481b024-bc6f-4104-bc1c-802615313aaa: 'Page Type' # Page Type 485a4230-6aac-41b7-8524-da6232e226ae: 'Filter Tool' # Filter Tool - 528d82d4-91db-4ee9-9fa2-8d8c7c871c5e: 'Light Curve Block' # Light Curve Block 693f669b-ba6e-4c91-adad-2543fcd62554: 'Galactic Latitude' # Galactic Latitude 721d7a12-d399-4504-bbeb-0fa6d88d72b7: 'Color Filter Tool Block' # Color Filter Tool Block 839bfa4f-5a09-4b32-b1eb-e0fef7b7beda: 'Table Row' # Table Row 852df24b-f90e-486b-a371-b47ca241a84e: 'Y-axis Label' # Y-axis Label - 907a99bf-dc51-40c8-8117-c9686eddea0d: 'Include Scatter Plot' # Include Scatter Plot 919ed98f-d33e-4fae-adc0-2253a155246f: 'Question Text' # Question Text 986be506-1a98-4a56-9a16-1e2270071a95: isActive # isActive 1601c7a8-2437-4b8f-b2f2-116f4c043402: 'Site Information' # Site Information @@ -189,7 +186,6 @@ meta: 069834df-b9cb-47d6-9ff4-756fde01e084: Item # Item 075467b0-0dee-453c-9df0-0de6d2443cf8: Homepage # Homepage 220292c8-0330-4dd4-aa84-f0eeec38fa4e: Text # Text - 466246f6-753b-4198-8067-18acf1a7d4cb: 'Light Curve Tool' # Light Curve Tool 513634e9-3389-4e41-b769-9433ac34e35e: Widgets # Widgets 547128fa-4529-4483-9968-66425996b69f: EN # EN 0601483c-a943-42a3-b1a5-e003b05618dc: 'Question Block' # Question Block @@ -203,7 +199,6 @@ meta: 28704998-935a-423b-a405-d4ad8b38efa2: Widgets # Widgets 65934563-c9b7-45d5-99e6-cc013e22b668: 'Investigation Step (Child Entry)' # Investigation Step (Child Entry) 67592534-b8cb-4b2f-9826-d7c9300d9a2b: Widgets # Widgets - a02a930a-9f54-4ae2-8bb2-0e0ab7713759: 'Magnitude Scatter Plot' # Magnitude Scatter Plot a03e80f0-77ce-4b03-abf5-76a0deb264a9: JSON # JSON a1eeb085-4a92-48ba-92f5-65b9f5ebfc72: Text # Text a3f93249-e386-43c7-b2dd-5da2cda1eb03: Object # Object diff --git a/api/config/project/users/users.yaml b/api/config/project/users/users.yaml index 56daf27..a84d7fd 100644 --- a/api/config/project/users/users.yaml +++ b/api/config/project/users/users.yaml @@ -1,6 +1,7 @@ -allowPublicRegistration: false +allowPublicRegistration: true deactivateByDefault: false -defaultGroup: null +defaultGroup: '' photoSubpath: null photoVolumeUid: null requireEmailVerification: true +validateOnPublicRegistration: false