Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8992123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:52:57+00:00 2026-06-15T22:52:57+00:00

I am working on a project management application http://kerika.com where I am having following

  • 0

I am working on a project management application http://kerika.com where I am having following case, where I am not able to downgrade a user’s role on a google-drive file from “writer” to “reader”:

  1. A project owned by user U1 is shared with user U2 with role “Team Member”.
  2. When a new document is attached to the card of the project, it is uploaded to the google-drive account of user U1. Let’s call this file as F1. U1 becomes owner for F1 and it is shared with user U2 with “writer” role.
  3. When U1 decides to downgrade user U2’s role to visitor for kerika project :
    Kerika internally need to update user U2’s role for F1 on google-drive to “reader”.
  4. Here as a kerika developer it becomes hard to find the Permission object for the user U2 to modify its role as Permission object of GoogleDrive API doesn’t provide information about user’s email address. It provides information about user’s name but not about email address.

I have also looked at the google-drive-sdk video at http://www.youtube.com/watch?v=Z2OIlwju8UM&list=PL0FA2818902D9D123&index=15.

Videos says that google-drive-api is not populating user’s email address for security reason.

First thing is that, google-drive web version is showing other user’s email address in share dialog box where security is not concerned?

If google developers have decided to not populating the email address then they should have some work-around this issue.

e.g.
When I want to change a user’s role from “reader” to “write”, I can insert a new permission record with role as “writer” and role is being updated properly.

But the same thing is not working when I update user’s role from “writer” to “reader”.

Does anyone has same problem and found a work around to solve it?

Thanks in advance for your help,

Chirag Moradiya

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:52:58+00:00Added an answer on June 15, 2026 at 10:52 pm

    You should be using the update() or patch() method to modify an existing user’s permissions to the file. Obviously, the difficulty here lies in identifying the correct permissionId for the user to modify.

    You could try storing a table of permissionId to email address on your end but that assumes all permission changes are done within your app, not via the native Drive UI.

    Your other option would be to have the end user identify which user’s rights should be modified, help them choose by showing the name and picture that Drive API does give you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project management web application. The user has a variety
I'm working on my project: [Beer Pong Management System][1], a Windows Forms application. I
I'm working on a google apps based application - its a project management system
For my school project, I am working on a database management application. It is
I'm working on an in-house project management web based application that needs to support
I'm working on a little web-project-management-application. I have a few classes like Clients(), Services(),
I am working on project -online file management where we have to tore file
i am working on a online file management project.In which we are storing references
I'm working on an upgrade project and build management is done in Maven 1.0.2.
I'm working on a texture management and animation solution for a small side project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.