Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !278 opened Nov 27, 2014 by Kálmán Viktor@kviktor 
  • Report abuse
Report abuse

Allow superusers too see all profiles ✅

Closes #371 (closed)

  • Discussion 2
  • Commits 2
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Bach Dániel
    @bachdaniel started a discussion on an old version of the diff Nov 27, 2014
    Last updated by Őry Máté Nov 27, 2014
    circle/dashboard/views/user.py
    299 299 # if the intersection of the 2 lists is empty the logged in user
    300 300 # has no permission to check the target's profile
    301 301 # (except if the user want to see his own profile)
    302 if len(intersection) < 1 and target != user:
    302 if len(intersection) < 1 and target != user and not user.is_superuser:
    • Bach Dániel @bachdaniel commented Nov 27, 2014
      Owner

      xD

      xD
    • Őry Máté @orymate commented Nov 27, 2014
      Owner

      if not intersection ...?

      if not intersection ...?
    Please register or sign in to reply
  • Kálmán Viktor @kviktor

    Added 1 new commit:

    • 5c9ae9cb - dashboard: make check more pythonic
    Nov 27, 2014

    Added 1 new commit:

    • 5c9ae9cb - dashboard: make check more pythonic
    Added 1 new commit: * 5c9ae9cbdf9 - dashboard: make check more pythonic
    Toggle commit list
  • Bach Dániel @bachdaniel

    mentioned in commit 38b6f781

    Feb 23, 2015

    mentioned in commit 38b6f781

    mentioned in commit 38b6f7812b622f088ffac9ea5279847b3d75113d
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Őry Máté
Assignee
Őry Máté @orymate
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
3
3 participants
Reference: circle/cloud!278