Drupal 8 get all permissions for a given role
You can execute the following PHP code (with Devel enabled) to get all permissions for a given user role.
use Drupal\user\Entity\Role;
$user_role = Role::load('anonymous');
dpm($user_role->getPermissions());
These can be useful to have if you need to verify against specific permissions for a particular user, as the naming conventions are not always clear from the UI.