This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/develop by this push:
     new 78e789fa AIRAVATA-3681 Default userHasWriteAccess to true for new EUP 
fields
78e789fa is described below

commit 78e789fa726e16a0da44ec19c27a7ee19bc9fb4e
Author: Marcus Christie <[email protected]>
AuthorDate: Fri Feb 3 14:28:37 2023 -0500

    AIRAVATA-3681 Default userHasWriteAccess to true for new EUP fields
---
 .../static/django_airavata_api/js/models/ExtendedUserProfileField.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileField.js
 
b/django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileField.js
index 44076bc2..ca0a8e2d 100644
--- 
a/django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileField.js
+++ 
b/django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileField.js
@@ -32,7 +32,7 @@ const FIELDS = [
   },
   "other",
   "required",
-  "userHasWriteAccess",
+  { name: "userHasWriteAccess", type: "boolean", default: true },
 ];
 
 export default class ExtendedUserProfileField extends BaseModel {

Reply via email to