Skip to content

ACL modules review and user checks #2803

Description

@dbauszus-glx

The acl module is somewhat long in the tooth and invites to duplicate logic [and code].

The acl is imported by:

The auth module to check whether a user is blocked in the checkParamToken method.

The register module to check whether a user exists but is blocked.

The getUser method in the fromACL module used by the default login to check whether a user is blocked, verified, expired, etc.

The key module/method to check whether a user is verified, approved, or blocked.

The cookie module/method to check whether a user is blocked.

The most elegant method will merge the fromACL module with the acl module to export methods that retrieve and check a user returning the user or an appropriate error.

Metadata

Metadata

Assignees

Labels

CodeIssues related to the code structure and performance.v5These issues should be addressed in the next major release v5

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions