Code-dig-ger / Backend

This is the Backend open-source API developed to provide data to our Frontend React Website. Codedigger aims at accumulating the data of competitive programming platforms into one platform.
https://api.codedigger.tech
Apache License 2.0
13 stars 16 forks source link

Feature/jyothiprakashpanaik/issue 43/feat editor table to store which user has access to edit which lists #145

Open jyothiprakashpanaik opened 2 years ago

jyothiprakashpanaik commented 2 years ago

Added Editor table:

User: Foreign Key List: Foreign Key

ShivamSinghal1 commented 2 years ago

""" List Create -> Name - DP Deafult - Private ( I can only access to that list ) I can change this list to Public (Anyone with link can view that list ) Shared (Any friend can share list)

    // Username
    // If Username == Authenticated User
    // I am seeing my own list 
    // Private List  Public List  Shared List ( My friend shared List )

    // If username != Authenticated User 
    // I am seeing other user list 
    // Other User Public List  // Other User Shared Public List  // Private List (NO)
    {
        'status': 'OK',
        'result': {
            'public': [

            ],
            'private': [

            ],
            'shared': [

            ]
        }
    }
    """