In Azure DevOps, developers are unable to access sprint boards and other boards due to permissions issue - azure-devops

Developers are receiving this message when trying to access the sprint board and other boards.
This permission appears to be set for the project team through inheritance from "Project Collection Valid Users". Project Admin users can access the boards.

Click the Members tab and choose the specific user, check if the View-instance-level information is Allow for the user.
There're two possible causes of the issue:
1.Once we grant several permissions(Allow) to one team, the members of that team can access the Allowed permissions automatically. But if we disable/deny the permission of one specific user, then the user can't access the permission though his team can.
2.Also, if one user is in both teams A and B. If TeamA has Allow permission to View instance-level information while TeamB has Deny status to View instance-level information. Then the users in TeamA but not TeamB can access the Allowed permissions while the users in both TeamA and TeamB is denied to access the Allowed permission.

Related

In Azure DevOps is there provision of any external link to client by which they can only access bugs or selective work items created by them?

Our organization is using Azure DevOps to for project management. Currently, to track work progress, which tasks are pending, which are done, issues raised etc. in project we give full access to clients, such that they can view activities happening in that project. Now as an organization, we want to restrict client from viewing the activities done by our internal team. We don't want them to view bugs created by our QA Team to developers. We only want them to CREATE & VIEW bugs created by them. Is there any provision to give only those rights to the client ?
Can we give rights for external users (clients) to create bugs and view status of bugs created by THEM only & RESTRICT view of bugs/work items created by internal team team members? Please assist.
Thanks in advance.
Is there any provision to give only those rights to the client? Can we give rights for external users (clients) to create bugs and view status of bugs created by THEM only & RESTRICT view of bugs/work items created by internal team members?
You could consider to add these external users (clients) to be a new team, and then set "View permissions for this node" permission and "View work items in this node" permission for this team to be Deny for specific areas, so the team cannot view work items under these areas. See: Set permissions and access for work tracking for more details.

Azure DevOps Shared Query permission not inheriting from Project Administrator Group

I am in the project administrator group, since we have a requirement to set the shared query to read-only to Contributors, I toggled the permission for Contributors to Deny except for "Read"
When I try to create new shared query, it says:
TF401256: You do not have Write permission for query Shared Queries.
I clicked on the three dots and bring up the "Permission for Shared Queries" menu, searched my name and a few other people in the Project Administrator Group or Project Collection Administrator Group, it shows all "Deny" permission except for the "Read" for all of us.
When I hover over, it says our permission is being inherited through the {project}\Contributors, but we are in the Administrator group.
Why is that and How can I fix it? I cannot even overwrite the permission. It is stuck at being inherited from the Contributor group.
enter image description here
It seems you are in a different group(project administrator group and Contributors), check this doc:
In the Azure DevOps, for most groups and almost all permissions, Deny overrides Allow. If a user belongs to two groups, and one of them has a specific permission set to Deny, that user is not able to perform tasks that require that permission even if they belong to a group that has that permission set to Allow.
This is why you get the error message. You could open project settings->Permissions->Search the permission group {project}\Contributors->click the tab Members and remove your account. Then you could create new shared query
Update1
Steps:
Open project settings->Teams->select the team->click the tab Settings->add Administrator, then we could move our account.
link to MS forum for this issue (or similar posted by other people):
https://developercommunity2.visualstudio.com/t/Project-administrator-cannot-save-shared/1339863
It just doesn't sound right to me that in order to have admin permission you cannot be in any team. That maybe workable for a test account but for an organization this workaround or restriction could mess things up a lot.

User access and roles in azure devops

I want to set up a portfolio where all projects names will be my epics and every individual project will have their own space where they will manage thier pbis..now my question is how can I control the user access in my parent space ..like what access and roles I should give to each pm in the parent epic spac
For each project that you create, the system creates the followings project-level groups. These groups are assigned project-level permissions.
The full name of each of these groups is [{project name}]{group name}. For example, the contributors group for a project called "My Project" is [My Project]\Contributors.
For your PM, they should be assigned Project Administrators permission.
Project Administrators
Has permissions to administer all aspects of teams and project,
although they can't create team projects.
Assign to users who manage user permissions, create or edit teams,
modify team settings, define area an iteration path, or customize work
item tracking.
Members of the Project Administrators group are granted permissions to perform the following tasks:
Add and remove users from project membership
Add and remove custom security groups from a project
Add and administer all project teams and team-related features
Edit project level permission ACLs
Edit event subscriptions (email or SOAP) for teams or project-level
events.
As for Access levels, it grant or restrict access to select web portal features. Access levels enable administrators to provide their user base access to the features they need and only pay for those features. They should as least owe Basic access level.
For more detail info, please refer our official doc here:
Project-level permissions
About access levels

What permissions does an Organisation Owner have in Azure DevOps?

We've been using Azure DevOps but I'm wondering what the Organisation Owner does? Do they have extra permissions in Azure DevOps or is it just a 'for info' type field so people know who to speak with about any DevOps queries / change requests with the setup.
Thinking ours may need to change but just looking to see what the impact is in changing that - i.e. what permissions would the existing person lose (and what would a new person gain) if that was to change to someone else.
Generally, there aren't extra permissions for the owner account, so, just feel free to change owner. For the new owner, he has the admin permission.
On the other hand, you may just add the new user to Project Collection administrators group, then this new user will has admin permission too.
From the docs
An administrator or organization Owner can give you access to select
features or functions, or change your permissions. In this article,
learn how to look up administrators or organization Owners.
and here are the rights or things that organization owner can do.
Generally, as an organization Owner, you are the administrator of your DevOps service and you have super permission. You can manage your project, includes:
Add users to your project
Grant or restrict permissions
Share your project vision and support collaboration
Remove unused services from the user interface
Set code, test, and other policies
Define area and iteration paths for work tracking
Customize work-tracking processes
Review and update notifications
Add teams to scale your organization
Install and manage extensions
Set up billing
Detailed information, you can refer to the following link:
https://learn.microsoft.com/en-us/azure/devops/user-guide/project-admin-tutorial?view=azure-devops

What group does one have to be member of to add new User Stories and Bugs on the board?

Currently users are members of the Project Administrators group.
Is that the minimum group membership required to add new User Stories and Bugs to the Boards interface?
Update
Area path permissions let you grant or restrict access to edit or modify work items, test cases, or test plans assigned to those areas. You can restrict access to users or groups. You can also set permissions for who can add or modify areas or iterations for the project.
You define both areas and iterations for a project from the Project Settings>Work>Project configuration.
1) Choose (1) Project Settings, expand Work if needed, and choose (2) Project configuration and then (3) Areas.
2) Choose the ... context menu for the node you want to manage and select Security.
More details please take a look our official link.
This is not only based on which group you are in.
Note:
Limitations to select features are based on the access level and
security group to which a user is assigned. The Basic access level and
higher supports full access to all Azure Boards features. Stakeholder
access level provides parti
So to add new User Stories and Bugs on the board, you need to meet both permissions and access for Azure Boards.
For Permission:
Boards present work items as cards and support quick status updates through drag-and-drop.
You could also use single permission to restrict users with Agile Boards. For if you want a simply solution, you could add them to Contributors Group directly.
Note: According to Azure DevOps permission setting, most groups and almost all permissions, Deny trumps Allow. If a user belongs to two groups, and one of them has a specific permission set to Deny, that user will not be able to perform tasks that require that permission even if they belong to a group that has that permission set to Allow.
For Access Level:
Agile boards
Includes limited access to Kanban boards. Stakeholders can't add work items, can't drag-and-drop work items to update status, and can't update fields displayed on cards.
Conclusion: The minimum should be Contributors Group and Basic Access Level
No, the Contributors permissions it's enough:
More info about the board/work items permissions you can find here.