Extending permission tricks recipe with a bug

hi this might be minor but there is a typo in the permission-tricks cookbook recipe regarding the isReadable() method:

author:
  type: users
  label: Author
	default: true
  disabled: true

default: true should be intended two tabs, but appears as intended four tabs. I tried editing it and commit it but it appears the same way, maybe there is a hidden character somewhere inside?

At line 142 in the cookbook-recipe.txt

Again this might be minor but took me a few hours to understand its a bug in the recipe and not my mistake. Leaving it here so maybe it can be fixed of people stumble upon it…

Thanks, I fixed it. YAML files should not be indented using tabs but 2 spaces per indentation level.

1 Like