Steps to reproduce:
Expected behavior:
The actual, incorrect behavior:
This seems to be related to the drupal version. I modified the vagrant to install Drupal 8.1.8 and I could once again see the permissions entries for the various REST endpoints.
...and it looks like 8.2.0 was released today. https://www.drupal.org/blog/drupal-8-2-0
So, that should explain why 8.2.0 is getting installed. I was confused for a moment :smile:
And RESTUI is not ready for it.
https://www.drupal.org/node/2758563
@whikloj @ruebot if RESTUI is not ready (and 8.2 is different, some libraries changed) REST API can be set using configuration YAMLl file. Do you want me to do that?
IMHO that is just going to make it harder for anyone to learn how to use. So if you all want to do that, I wouldn't argue. But I think we should just move back to 8.1.8 and wait. Then people can see how it _should_ work.
@whikloj ok i agree. 8.1.8 until A) RESTUI gets an update or B) we update RESTUI!
@whikloj @ruebot To avoid issues such as this in the future, should we always target a specific version of drupal and other major components for vagrant? Or Is it ok since this is the development environment and we want to find out potential issues at the earliest?
@Natkeeran hard to say, if the plan is that these permissions are disappearing for good. Then we should switch and configure as @DiegoPino suggests. But if not then we just seem to be a little ahead of the curve and waiting until they get an update completed makes the most sense.
That being said, perhaps we should try using the dev version.
@Natkeeran yes for Drupal. The HUGE difference with Drupal 8 is that changes between mayor versions are deprecating/replacing the guts of it. So 8.2 is really different that 8.1. That did not happen in Drupal 7.x which since was mostly procedural. So we just need more experience with Drupal.
I say we always target a specific version. Best to be explicit.
And I'd wait on everything else to catch up and we deal with 8.2 when it's just our stuff that needs to be updated.
I'm running a fresh vagrant up to test the install of a fix that upgrades us to Drupal 8.2.2 and installs a rest config entity for fedora resources. I'll keep everyone posted.
LOL, and while waiting for my vagrant up to go.... the REST UI module pushed a release for 8.2!
Bump https://github.com/Islandora-CLAW/CLAW/pull/416
I need a test and merge.