Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
N

N0ah

@N0ah
Unfollow Follow
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • API: Is there a way to add a single user to a group without replacing all members?
    N N0ah
    Discuss

    Hi all,

    We want to set Groups for Users via the API, as far as I can tell, there are two ways to change group membership:

    1. PUT /api/v1/groups/:groupId/members with { "userIds": }
    2. PUT /api/v1/users/:userId/groups with { "groupIds": [...] }

    Looking at src/groups.js, both seem to replace rather than add:

    • setMembers() first runs DELETE FROM groupMembers WHERE groupId = ? and then inserts only the userIds from the request.
    • setLocalMembership() first removes the user from all local groups and then inserts only the groupIds from the request.

    -> This means we cant just Add a new user to a Groupe via API correct? We woud always have to first get the Group then take all the listed useres Append the new users and run the Put groups API with the Appended list - or do the same with all current groups from a user?


  • Bug? Users not allowed to change Profile Picture/ Avatar
    N N0ah
    Discuss

    I'm not sure how easy this would be to implement, but a more fine-tuned approach would come in handy, I think: being able to lock mail, name and avatar independently of each other. That way, each organisation could set those up as needed.

    Funny that you mentioned OIDC — that's actually how we found out: users had missing pictures in another app and weren't able to change there Avatars on their profiles.


  • Bug? Users not allowed to change Profile Picture/ Avatar
    N N0ah
    Discuss

    Yes, exactly — the Lock Profile setting. We enable the lock to prevent users from changing their mail address to a private one and to guarantee a consistent naming scheme. Profile pictures are not a concern for us.

    However, the description of that setting is then a bit misleading compared to the actual behaviour, since the text suggests that only mail and name are locked — which is exactly what we would want.


  • Bug? Users not allowed to change Profile Picture/ Avatar
    N N0ah
    Discuss

    Hello all,

    We just noticed that Users are not able to change or set there Avatar Picture when they are not allowed to change Name or Mail (restricted by the according Setting under Users). It looks like this setting restricts more then said change of Name and Mail.

    As an Admin you could still change the Profilepciture, but this work arround seems not desirable to us.

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search