Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 645
    • Issues 645
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Issues
  • #557
Closed
Open
Issue created Jan 27, 2019 by tom79@tom79Contributor

[API] - Add "is_moderator" and "is_admin" in account entity

I want to implement some admin features with Mastalab. I noticed there is this call: /api/pleroma/admin/permission_group/:nickname which returns:

{
	"is_moderator": bool,
	"is_admin": bool
}

Do you think, it's possible to add this values in Account entity.

My main issue, I currently can't make the difference between a Mastodon and Pleroma account. That means, I will do this extra call for all users (even Mastodon ones).

If it's not possible, I will try to detect Pleroma accounts with special parameters that its account entity has.

Assignee
Assign to
Time tracking