Skip to content

[Bug]: rethink write permissions during save action for new pages #24

@jeabakker

Description

@jeabakker

Elgg version
5.1

Plugin version
master

Plugin source

  • Git clone (did you run composer install?)

Describe the bug

In the action the save of a new page is placed in an 'ignore access' call

$saved = elgg_call(ELGG_IGNORE_ACCESS, function () use (&$entity) {
return $entity->save();
});

This will give anybody write access to any container, even if this shouldn't be the case.

Rethink this procedure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions