Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 4.x][Fixes #986] Anonymous users have an option of adding dataset and annotations to a map #1006

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

DavidQuartz
Copy link
Member

This PR sets permission for Annotation and Add Dataset plugins to only users with Edit permission

Screenshot 2022-05-27 at 14 46 18

Screenshot 2022-05-27 at 14 46 36

@DavidQuartz DavidQuartz requested a review from allyoucanmap May 31, 2022 15:46
@DavidQuartz DavidQuartz self-assigned this May 31, 2022
@allyoucanmap allyoucanmap merged commit 2537412 into GeoNode:4.x Jun 6, 2022
giohappy added a commit that referenced this pull request Sep 9, 2022
* - [Fixes #905] Integrity db error between geoapps tables on upgrade from 3.x to 4.x (#924)

* [Fixes #898] Add layer visibility toggle to legend component (#926)

* [Fixes #911] Irrelevant message in dataset style editor (#928)

* Updated client bundle (#930)

* [Fixes #910] Dataset uploads are not updated appropriately (#927)

* Update client bundle (#931)

* Update test.yml

* Update test.yml

* Update and rename test.yml to 4.x-test.yml

* Update and rename build.yml to 4.x-build.yml

* #900: Issues with filters: no debounce and dropdown closing on click (#912) (#939)

Co-authored-by: David Quartey <42542676+DavidQuartz@users.noreply.github.com>

* #937: Pending copy exectutions are not updated correctly on page reload (#936) (#940)

* [create-pull-request] automated change (#941)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* - CHANGELOG for release 4.0.0

(cherry picked from commit 9bac750)

* [Fixes #919] Truncate abstract inside the metadata table inside the info box (#949)

* [Fixes #933] Clear filters button not well aligned and not visible (#948)

* - Bump to version 4.0.1

(cherry picked from commit 52efe68)

* [create-pull-request] automated change (#950)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #947]: Show direct links and embed links inside Share panel (#963)

* [create-pull-request] automated change (#965)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #946] Autoclose info panel on single click on the map (#970)

* [Fixes #942] Failing datasets uploads are generating double entries in the list of not processed upload (#975)

* [create-pull-request] automated change (#978)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [backport 4.x][Fixes #9252] backport to 4.x (#980)

* [Fixes #973] Improve LOCKDOWN_GEONODE (#972) (#984)

* [Fixes #9377] Improve LOCKDOWN_GEONODE

* Improve LOCKDOWN_GEONODE and fix npm build

* Fix PR changes

* refactor api key param

* restore addQueryString function

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>

* [create-pull-request] automated change (#990)

Co-authored-by: mattiagiupponi <mattiagiupponi@users.noreply.github.com>

* [Fixes #991] Add CREATE_LAYER setting to geonode_config (#999)

* [Fixes #987] Fix migration map blob (#988) (#989)

* [Backport 4.x][Fixes #967] Drop support for GeoJSON upload (#1004)

* [Backport 4.x][Fixes #964] info icon for not approved / not published resource shouldn't take a line (#1005)

* [Fixes #986] Anonymous users have an option of adding dataset and annotations to a map (#1006)

* [Fixes #969] Add "with_resources" GET parameter on regions and categories endpoints (#1007)

* [create-pull-request] automated change (#1009)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #966] Provide visual feedback while loading filtered resources (#1015)

* [Fixes #993] Use createLayer configuration to show the create dataset action (#1016)

* [create-pull-request] automated change (#1025)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #932] Symbol type is not visible in annotations styles (#1029)

* [create-pull-request] automated change (#1039)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #976] Fix missing required accessToken for MapBox background when adding a map to a geostory (#1014) (#1041)

* [create-pull-request] automated change (#1042)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #968] Adjustments to links inside Share Panel (#1040)

* [create-pull-request] automated change (#1043)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* Update 4.x-build.yml

* [Fixes #1020] Show invalid bbox warning on the overview of the dataset  (#1033)

* [create-pull-request] automated change (#1045)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #961 & #1011] Show an error if dataset as a ll_bbox_polygon is greater then the WGS84 max extent (#1031)

* [Fixes #925 & #1018] The upload box should accept xml and sld files along with the dataset itself (#1032)

* [create-pull-request] automated change (#1046)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #935] Share permissions form not showing for users in groups with manage permission (#1047)

* [Fixes 1023] Change the label for the GML FeatureCollection export format (#1048)

* [Fixes #1028] The DatasetCatalog plugin but be enabled for a new map (#1049)

* [create-pull-request] automated change (#1052)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* - Bump to version 4.0.2

* [Backport 4.x][Fixes #1053] Include base support for localization in gn-document app entry (#1061)

* [create-pull-request] automated change (#1074)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Backport 4.x] [Fixes #1064] Expose supported upload file formats as configurations (#1080)

* [Fixes #1069] Use new config setting for supported dataset file types (#1070) (#1081)

* [Fixes #955] Blured icon images (#1056) (#1079)

* [create-pull-request] automated change (#1092)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1084] Use raw JSON body instead of ulencoded form for permissions PUT (#1086) (#1095)

Co-authored-by: David Quartey <42542676+DavidQuartz@users.noreply.github.com>

* [create-pull-request] automated change (#1096)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes #1089] Fix text overflow in resource Delete dialog box (#1090) (#1099)

* [Fixes #1058] Problem with color picker in Bar and Pie chart (#1082) (#1100)

* [Fixes #1072] Dataset legend must show the dataset's title instead of Geoserver's layername (#1075) (#1101)

* [Fixes #1038] Reload catalogue after saving a resource (#1062) (#1102)

* [Fixes #1051] Total number of resources and list of resources should be updated after deleting a resource from the list (#1057) (#1103)

* [create-pull-request] automated change (#1106)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1085] Spinner is missing during the upload phase  (#1087) (#1111)

* [Fixes #1097] Spinner should not keep spinning in INVALID state (#1098) (#1112)

* [create-pull-request] automated change (#1113)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* gpkg progress (#1125)

* Show some informative message when a GPKG is imported (#1107) (#1124)

* [create-pull-request] automated change (#1129)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes 1114] Favorites are broken (#1119) (#1134)

* favorites have been fixed

* Adjusted test

* fixes 1120 (#1135)

* [Fixes 1122] Issues with pressing Enter in Clone dialog (#1133) (#1140)

* Fixes 1122

* Added enter for new maps

* [create-pull-request] automated change (#1141)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* Bump to version 4.0.3

* [Fixes #1138] Timeline throws error and not displaying correctly the features (#1151) (#1158)

* [Fixes #1136] The client should only depend on the new favorite field in resource object (#1145) (#1153)

* [Fixes #1022] Thumbnail placeholders (#1142) (#1154)

* [create-pull-request] automated change (#1160)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1132 & #1156] Metadata download  (#1155)

* [Fixes #1117] Layer legend is not updated (#1161) (#1164)

* [Fixes #1156] Remove duplicated data download plugin (#1162) (#1165)

* [create-pull-request] automated change (#1166)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* fix style editor in maps (#1170) (#1172)

Co-authored-by: stefano bovio <stefano.bovio@geosolutionsgroup.com>

* [create-pull-request] automated change (#1173)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* Bump djangorestframework to version 3.12.0

(cherry picked from commit 971a8d5)

* [Fixes 1169] (#1175) (#1182)

* [Fixes 1174] Error not correctly shown error (#1176) (#1184)

* [Fixes 1174]

* making error log more human readable

* merge master (#1186)

* [create-pull-request] automated change (#915)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* Dataset uploads are not updated appropriately (#914)

* Show msg only for maps (#920)

* [create-pull-request] automated change (#921)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* Add layer visibility toggle to legend component (#916)

* [create-pull-request] automated change (#922)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* - [Fixes #905] Integrity db error between geoapps tables on upgrade from 3.x to 4.x (#906)

* #900: Issues with filters: no debounce and dropdown closing on click (#912)

* [create-pull-request] automated change (#934)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* #937: Pending copy exectutions are not updated correctly on page reload (#936)

* [create-pull-request] automated change (#938)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* #933: Clear filters button not well aligned and not visible (#944)

* #919: Truncate abstract inside the metadata table inside the info box (#943)

* Removed manual error inclusion

* [create-pull-request] automated change (#945)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* - CHANGELOG for release 4.0.0

* - Bump to version 4.0.1

* Added error in pending upload card

* Show direct links and embed links inside Share panel  (#951)

* Shwing direct links in share panel

* Reusable SharePageLink

* using class in place of inline style
- Remove typo bug

* [create-pull-request] automated change (#958)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes #946] Autoclose info panel on single click on the map (#960)

* [create-pull-request] automated change (#962)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #9252] Migration form Version 3.2 to 4 – map config is missing (#959)

* [Fixes #9252] Migration form Version 3.2 to 4 – map config is missing

* [Fixes #9252] Add missing table drop

* [Fixes #9252] Fix PR comments

* [Fixes #973] Improve LOCKDOWN_GEONODE (#972)

* [Fixes #9377] Improve LOCKDOWN_GEONODE

* Improve LOCKDOWN_GEONODE and fix npm build

* Fix PR changes

* refactor api key param

* restore addQueryString function

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>

* [create-pull-request] automated change (#985)

Co-authored-by: mattiagiupponi <mattiagiupponi@users.noreply.github.com>

* [Fixes #987] Fix migration map blob (#988)

* [Fixes #991] Add CREATE_LAYER setting to geonode_config (#994)

* [Fixes #979] Expose mapstore's setViewer to allow for custom GFI panel (#982)

* [Fixes #967] Drop support for GeoJSON upload (#995)

* [Fixes 966] Provide visual feedback while loading filtered resources (#996)

* [Fixes #964] info icon for not approved / not published resource shouldn't take a line (#997)

* [Fixes #986] Anonymous users have an option of adding dataset and annotations to a map (#998)

* [Fixes #969] Add "with_resources" GET parameter on regions and categories endpoints (#1001)

* [create-pull-request] automated change (#1003)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #961] Show an error if dataset as a ll_bbox_polygon is greater then the WGS84 max extent (#1000)

* [Fixes #993] Use createLayer configuration to show the create dataset action (#1002)

* [Fixes #925] The upload box should accept xml and sld files along with the dataset itself (#1008)

* [create-pull-request] automated change (#1010)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1011] Datasets with valid bbox do not open in viewer page (#1012)

* [create-pull-request] automated change (#1013)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #932] Symbol type is not visible in annotations styles (#1017)

* [Fixes #1018] The client should not submit xml or sld(if provided) as base_file in dataset uploads  (#1019)

* [Fixes #1020] Show invalid bbox warning on the overview of the dataset (#1021)

* [Fixes #976] Fix missing required accessToken for MapBox background when adding a map to a geostory (#1014)

* [create-pull-request] automated change (#1026)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #968] Adjustments to links inside Share Panel (#1024)

* [create-pull-request] automated change (#1027)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1028] The DatasetCatalog plugin but be enabled for a new map (#1034)

* [Fixes #1023] Change the lable for the GML FeatureCollection export format (#1035)

* [Fixes #935] Share permissions form not showing for users in groups with manage permission (#1036)

* [create-pull-request] automated change (#1044)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1053] Include base support for localization in gn-document app entry (#1054)

* [create-pull-request] automated change (#1055)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1064] Expose supported upload file formats as configurations (#1063)

* Update context_processors.py (#1068)

* [Fixes #955] Blured icon images (#1056)

* [create-pull-request] automated change (#1071)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1069] Use new config setting for supported dataset file types (#1070)

* [create-pull-request] automated change (#1073)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1051] Total number of resources and list of resources should be updated after deleting a resource from the list (#1057)

* [Fixes #1085] Spinner is missing during the upload phase  (#1087)

* [Fixes #1058] Problem with color picker in Bar and Pie chart (#1082)

* [Fixes #1072] Dataset legend must show the dataset's title instead of Geoserver's layername (#1075)

* [Fixes #1038] Reload catalogue after saving a resource (#1062)

* [create-pull-request] automated change (#1091)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1084] Use raw JSON body instead of ulencoded form for permissions PUT (#1086)

* [create-pull-request] automated change (#1093)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1089] Fix text overflow in resource Delete dialog box (#1090)

* [create-pull-request] automated change (#1094)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1097] Spinner should not keep spinning in INVALID state (#1098)

* [create-pull-request] automated change (#1105)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* Show some informative message when a GPKG is imported (#1107)

* [create-pull-request] automated change (#1109)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes 1115] Upload progress for GKPG based on execution requests (#1116)

* gpkg imports

* Client side work for new import complete

* [create-pull-request] automated change (#1123)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* fixes 1120 (#1126)

* [Fixes 1114] Favorites are broken (#1119)

* favorites have been fixed

* Adjusted test

* [create-pull-request] automated change (#1130)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes 1122] Issues with pressing Enter in Clone dialog (#1133)

* Fixes 1122

* Added enter for new maps

* [create-pull-request] automated change (#1139)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes #1136] The client should only depend on the new favorite field in resource object (#1145)

* [Fixes #1022] Thumbnail placeholders (#1142)

* [Fixes #1132] Metadata download  (#1146)

* [create-pull-request] automated change (#1149)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes #1138] Timeline throws error and not displaying correctly the features (#1151)

* [create-pull-request] automated change (#1152)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* [Fixes 1156] Rename Export and Rearrange Download menu items (#1157)

* Fixes 1156

* fixed trans

* [create-pull-request] automated change (#1159)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes #1156] Remove duplicated data download plugin (#1162)

* [Fixes #1117] Layer legend is not updated (#1161)

* [create-pull-request] automated change (#1163)

Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>

* fix style editor in maps (#1170)

* [create-pull-request] automated change (#1171)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* Bump djangorestframework to version 3.12.0

* [Fixes 1169] (#1175)

* [create-pull-request] automated change (#1178)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

* [Fixes 1174] Error not correctly shown error (#1176)

* [Fixes 1174]

* making error log more human readable

* [create-pull-request] automated change (#1179)

Co-authored-by: giohappy <giohappy@users.noreply.github.com>

Co-authored-by: geosolutions-pr-generator[bot] <87376048+geosolutions-pr-generator[bot]@users.noreply.github.com>
Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>
Co-authored-by: David Quartey <42542676+DavidQuartz@users.noreply.github.com>
Co-authored-by: NAGGINDA MARTHA <marthamareal@gmail.com>
Co-authored-by: stefano bovio <stefano.bovio@geosolutionsgroup.com>
Co-authored-by: DavidQuartz <quartzdavid@gmail.com>
Co-authored-by: afabiani <alessio.fabiani@gmail.com>
Co-authored-by: giohappy <giohappy@users.noreply.github.com>
Co-authored-by: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com>
Co-authored-by: mattiagiupponi <mattiagiupponi@users.noreply.github.com>
Co-authored-by: afabiani <alessio.fabiani@geosolutionsgroup.com>

* restore workflows from master

* fix tests.yml

* removed unexpected file

Co-authored-by: NAGGINDA MARTHA <marthamareal@gmail.com>
Co-authored-by: David Quartey <42542676+DavidQuartz@users.noreply.github.com>
Co-authored-by: stefano bovio <stefano.bovio@geosolutionsgroup.com>
Co-authored-by: geosolutions-pr-generator[bot] <87376048+geosolutions-pr-generator[bot]@users.noreply.github.com>
Co-authored-by: allyoucanmap <allyoucanmap@users.noreply.github.com>
Co-authored-by: afabiani <alessio.fabiani@gmail.com>
Co-authored-by: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com>
Co-authored-by: mattiagiupponi <mattiagiupponi@users.noreply.github.com>
Co-authored-by: afabiani <alessio.fabiani@geosolutionsgroup.com>
Co-authored-by: giohappy <giohappy@users.noreply.github.com>
Co-authored-by: DavidQuartz <quartzdavid@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants