spacebase / spacebasenz

Website for SpaceBase New Zealand
http://dev-spacebasenz.pantheonsite.io/
GNU General Public License v2.0
0 stars 0 forks source link

Access to add Resource in Project #335

Closed treasuretron closed 4 years ago

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 4, 2019, 18:33

Eric and I are both trying to add Resource to the CHalenge Project. If we click on the Add Resource, it says we do not have access.
Screen_Shot_2019-03-05_at_12.30.54_PM

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 4, 2019, 18:33

changed due date to March 05, 2019

treasuretron commented 4 years ago

In GitLab by @jayelless on Mar 4, 2019, 19:14

Hi Emeline.

The problem was with permissions for resource content types. I have updated the permsissions for the editor role on the production site, and will update the configuration in the codebase so this change to master does not get lost.

It should now work for you.

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 4, 2019, 19:23

Awesome! Thanks!

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 5, 2019, 00:50

Hi James, Somehow I still have not gotten adding resources to work. It is still saying not authorized when clicking on Add resources button.
It would be great if we can add resources soon. Thanks!

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 5, 2019, 14:48

Also noting that even the SpaceBase admin can't seem to add resourcesScreen_Shot_2019-03-06_at_8.48.26_AM

treasuretron commented 4 years ago

In GitLab by @jayelless on Mar 5, 2019, 15:14

Hi Emeline. There was a further issue, in that the defined external resources (in taxonomy Resources) should have been updated to specify whether they could be associated with Organoizations and/or Projects. This should have been done at the time the update was released into production, but it was omitted. I have now fixed this so it should work for you. Regards, James

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 5, 2019, 15:28

Thanks James. I need to get to better wifi in an hour to test and will let you know. Currently have no broadband since we moved Saturday. :(

Best, Emeline

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 5, 2019, 15:28

Thanks James. I need to get to better wifi in an hour to test and will let you know. Currently have no broadband since we moved Saturday. :(

Best, Emeline

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 5, 2019, 16:24

Unfortunately, it is still going to the same not authorized to access error. The difference is I can see the sub categories now but if I click to add, it still goes to the same error (for both user "emeline" and the Space Admin). Also, in the description for each sub category - it always has the phrase "nothing here yet" after the description. Could you please take that out for all of the categories?Screen_Shot_2019-03-06_at_10.24.50_AM

treasuretron commented 4 years ago

In GitLab by @richbodo on Mar 5, 2019, 17:44

This would be a good behat test.

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 5, 2019, 21:47

I also tried to create a resource from the back end under add content. It gets me all the way to the form where I fill it in but when I click on "Publish", this is the error I get.

Screen_Shot_2019-03-06_at_3.15.15_PM

Just noting that we have one day left to add resource to the page and we are in a workshop all day tomorrow. The alternative is I will not ask ChristchurchNZ to include the link for the Launch on Friday which would really be a pity.

Just in case, I'm attaching here the file of links that need to go up in case someone can get access shortly and just add them. The most important links are the Airbus data sets. They are all for the sub section "Links".

The following links should be added under:

NZ Aerospace Challenge 2019 Project / Resources / Links https://spacebase.co/group/267/resources#Links

(The following line is a subheading - but I don’t think we have this feature at present. So I guess we can just list all the links together.) --- Agritech in NZ ---

"Agritech destined to save New Zealand?", Peter Wren-Hilton, Aug 2018 https://agritechnz.org.nz/2018/08/29/agritech-destined-to-save-new-zealand/

"Agriculture’s sustainable future", The Economist http://thefutureoffarming.economist.com/agricultures-sustainable-future/

"The emerging agritech ecosystem", The Economist http://thefutureoffarming.economist.com/emerging-agritech-ecosystem/

--- Agricultural pollution issues ---

“Environmental impacts of Agriculture”, Environment Foundation, Feb 2018 http://www.environmentguide.org.nz/activities/agriculture/environmental-impacts-of-agriculture/

“Managing Farm Runoff” https://www.waikatoregion.govt.nz/environment/natural-resources/land-and-soil/managing-land-and-soil/managing-farm-runoff/

“Fresh water” http://archive.stats.govt.nz/browse_for_stats/environment/environmental-reporting-series/environmental-indicators/Home/Fresh%20water.aspx

“Methodology for Deriving Standards for Contaminants in Soil to Protect Human Health” http://www.mfe.govt.nz/sites/default/files/methodology-for-deriving-standards-for-contaminants-in-soil.pdf

--- Sustainable agriculture background ---

“Challenges and urgent solutions needed for NZ agritech”, Peter Wren-Hilton, Agritech NZ, May 2018 https://agritechnz.org.nz/2018/05/20/challenges-and-urgent-solutions-needed-for-nz-agritech/

“Soil quality and land use”, NZ Government, April 2018 http://archive.stats.govt.nz/browse_for_stats/environment/environmental-reporting-series/environmental-indicators/Home/Land/soil-quality-land-use.aspx

--- Satellite data sources ---

ESA - Sentinel https://sentinel.esa.int/web/sentinel/home

EU - Sentinel - Copernicus system https://www.copernicus.eu/en

Google Earth Engine - NASA Landsat, MODIS, etc https://explorer.earthengine.google.com/#workspace

Airbus TerraSAR-X archive https://terrasar-x-archive.terrasar.com/

Airbus Pleiades and SPOT imagery https://www.intelligence-airbusds.com/en/4871-ordering

Planet https://www.planet.com/explorer/#/mosaic/global_monthly_2019_02_mosaic

--- UAV/drone agritech applications ---

NZ drone makers finding niche markets as industry soars, NZ Herald, Aug 2017 https://www.nzherald.co.nz/business/news/article.cfm?c_id=3&objectid=11913089

Best Drones For Agriculture 2019: The Ultimate Buyer’s Guide, Feb 2019 https://bestdroneforthejob.com/drone-buying-guides/agriculture-drone-buyers-guide/

--- UAV/drone providers and operators in NZ ---

UC Engineering Research Center https://www.canterbury.ac.nz/serc/research/

DronesScape http://www.dronescape.co.nz

Helicam Pro https://www.helicampro.co.nz

Dotterel https://dotterel.co.nz

X-craft https://www.x-craft.co.nz

Vortec https://vortec.nz

Aeronavics http://aeronavics.com

Global Aerial Platforms http://www.skygap.co.nz

Flightworks https://www.flightworks.nz

ASG Technologies https://www.asgtechnologies.co

Altus Intelligence https://www.altusintelligence.com

--- UAV/drone flying ---

Airways - maps, rules, registration https://www.airways.co.nz


treasuretron commented 4 years ago

In GitLab by @jayelless on Mar 5, 2019, 21:55

Hi Emeline. Adding resources works fine in my development environment, but not in the dev or live environments. I have been trying to find out what is causing the difference. I will endeavour to get it fixed today/tonight for you. Regards, James

treasuretron commented 4 years ago

In GitLab by @jayelless on Mar 5, 2019, 22:57

Hi Emeline. I believe that I have fixed the problem now. There was a missing plugin which allowed resource type content entities to be added to a project group. I have re-installed the plugin in both the live and dev environments, and added it to the 312-fixes branch so it will not get lost again. Cheers, James

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 6, 2019, 00:20

Thanks James, i will try again a little later when wifi bandwidth here allows and let you know.

Emeline

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 6, 2019, 03:22

John I managed to get all the links in now, however we have another big problem - the resources are not visible to non members. Is this an easy fix? Discussion is public and I can see it as an external viewer but resources are not. I will create a new issue.

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 6, 2019, 04:40

Closing the issue! Thank you James for working this out today!

treasuretron commented 4 years ago

In GitLab by @epaatdahlstrom on Mar 6, 2019, 04:40

closed