I'm trying to create a "Read-only" user account within Visual Studio Online. I've created the user and set all permissions to "Deny" except for "View project-level information", which is set at "Allow".
I've noticed that the user still has the ability to download the solution in its entirety and/or by directory. Is it possible to disable/prevent downloading functionality?
Ideally, I'd like only for this user to browse the solution's directory-tree and corresponding file contents.
Thanks for your help
There is a default Readers group (see https://your_account.visualstudio.com/DefaultCollection/your_project/_admin/_security).
Add the user to this group, and do not forget to restore the defaults permissions.
If people can read the files, then you can't prevent them downloading those files. In any case, even if you could, once the source is on screen people can always copy and paste the contents.
The 'Read' permission will only stop them from uploading any changes.
Related
I went going through the following article and I learned about the built-in sync setting feature:
https://code.visualstudio.com/docs/editor/settings-sync
I am not able to find where exactly VSCODE stores my sync data.
Where does VSCODE sync setting feature saves users' setting data?
From documentation, it says:
Selecting the Sign in & Turn on button will ask you to choose between signing in with your Microsoft or GitHub account.
If you are talking about where it saves in cloud, there's no information about that. Remember that vs code it's owned by Microsoft, here's the vscode repository. Couldn't find anything concretely helpful, but i'm sure they have their own databases for this services.
Currently, I am trying to do a user audit to remove old accounts from our environment. I found this KB about removing users from Azure Devops. I could not find any information about what happens to the content they uploaded if they get removed. If I remove a user from the organization, will the code or any content they have uploaded be removed as well?
Does removing a user from Azure Devops remove the content they uploaded?
The answer is no.
The code or any content they have uploaded will be control by the source control git/TFVC. The source control tool only track the files changes and record the history of changes. But the users is not within the scope of the source control, it only record the uses name who make any change in the source control.
Besides, if remove a user from the organization will remove the code or any content they have uploaded, which will cause all code development will be aborted due to developer changes. This will be a disaster. And, according to that document, it indirect explain that:
After you remove a user from Azure AD, you can't assign artifacts to
that user anymore. Examples are work items and pull requests. However,
we preserve the history of artifacts that were already assigned to the
user.
So, do not worry about deleting users from your organization will delete the code or any content they upload.
Hope this helps.
No. It would be totally useless as a source control or work tracking tool if data was abruptly removed because a user was removed.
I know a Stakeholder doesn't have access to the most of the code related things in VSTS. But, can he/she access a single file in a read-only mode which is in the code? Let's say for example a readme.md file.
No, but a markdown file can be pinned to the team's dashboard with the markdown widget or used as a wiki, which should work even for stakeholders.
I have a complicated system of folders and I need to share 2nd and 3rd level folders with certain groups of users while maintaining the full path to the folder.
Is this possible? I tried but without success as if I share a folder eg. Project 1->Administration with the "Group Administration" on the client I only see the Administration folder and I need, instead, to replicate the entire structure.
Thanks for the support
With the current ownCloud sharing implementation this is simply not possible. Every shared item appears directly in the "Shared" folder of the user the file/folder is shared with.
Update: At the moment ownCloud (and I guess also nextCloud) allow a user to move around and rename files/folders shared with them. So even if you could enforce a certain structure on your users, they could always change it afterwards.
You could always report a feature request for it (or maybe there even already is one) here: https://github.com/owncloud/core/issues/ .
I have a coworker who was no longer work the same office. He has checked out files in VSS. How do I check in the item which checked out by him? Thanks.
Assuming that you can't just log on as him and check in the files.
One easy way would be to undo the checkout (you might have to use the admin tool for this) and then you checkout the files, copy over his changed files and check them in.
Actually, here's the MS support article about doing just this to solve your problem: How To Resolve Files Checked Out by an Unavailable User (for version 4, 5 and 6, but I'm fairly sure it'll be exactly the same if you've got a later version, there wasn't any real GUI changes as far as I remember).
Another thing you can do if the person has left or moved on is to delete their account with the admin tool and recreate it.
Then undo their checkouts (or check in, if you have access to their files) and delete their account again.
You can use "admin" to log in and undo the checkout.