Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't delete or edit own links being other than an administrator. #15

Closed
plablo opened this issue Jan 3, 2020 · 4 comments
Closed

Can't delete or edit own links being other than an administrator. #15

plablo opened this issue Jan 3, 2020 · 4 comments

Comments

@plablo
Copy link

plablo commented Jan 3, 2020

Good morning. The plugin is amazing but I'm having a weird issue with roles. As the title says, here is my problem:

  • Being a collaborator can't delete my own links.
  • Being an editor can't delete my own or "collaborators" links.
  • Being an administrator can delete or modify everything.

I followed the configuration from Readme, writing something like this:

$amp_role_assignment = array( 'administrator' => array( 'user1' ), 'editor' => array( 'user2' ), 'contributor' => array( 'user3' ) );

If, for example, I move user2 to the administrator array then I can delete links, not otherwise.

Any ideas? Thank you in advance. 😄

@holzhannes
Copy link

I can confirm this error exist also for my Installation.

@joshp23
Copy link
Owner

joshp23 commented Jan 14, 2020

I've looked into this and I think I've isolated the problem. however I'm quite busy AFK at this time. I encourage pull requests.

@sathish1981
Copy link

@joshp23 @plablo : I am facing the same problem too. Editor and contributor cannot edit their own links. Any solution would be greatly helpful.

joshp23 added a commit that referenced this issue Mar 8, 2020
@joshp23
Copy link
Owner

joshp23 commented Mar 8, 2020

Apologies this took so long to address. Latest (2.1.2) addresses this.

@joshp23 joshp23 closed this as completed Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants