Questions tagged [permissions]

Permissions define the operations that authenticated users are allowed to perform on file systems, databases and other computer systems.

Permissions are a series of rules that defines the action that authenticated users of computer systems can do. Permission are employed in several systems, such as file systems, DBMS, apps (iOS, Android, Windows Store, ...) and claims-based identity.

From a programming perspective, we are not interested in how to assign permissions in a particular context (i.e. in a company) but in how these are implemented (which permissions are implemented, in which way we combine them, how they impact performance, ...).

This tag should be used:

  • for questions about how permissions work in a particular systems;
  • for scenarios/problems that involves permissions in a substantial way.

This tag should not be used for asking about the specific permissions that should be assigned in a particular scenario.

Related tags: , , ,

17586 questions
5
votes
1 answer

How to remove all permissions from a group in Django

In Django authentication permissions, how to remove all permissions granted to a group?
Antonio José
  • 473
  • 2
  • 5
  • 14
5
votes
3 answers

File permissions in Android

I'm here just to ask something maybe very simple, I'm working with Files, FileOutputStream and FileInputStream, But I just want to get/set a few props from the file, I mean, the owner the file, the permissions read/write, etc. Looking around I found…
c4r1o5
5
votes
1 answer

PermissionsPlugin - Photos vs Media Library?

I'm a bit confused using the PermissionPlugin, in connection with the MediaPlug, for Xamarin.Forms. I'm building functionality to allow a user to select an existing picture from their device to use in my app. (The MediaPlugin handles that part…
Andy
  • 8,432
  • 6
  • 38
  • 76
5
votes
2 answers

Activity.requestPermissions vs ActivityCompat.requestPermissions

Runtime permission dialog is shown in Android 6.0 or higher, so Activity.requestPermissions(...) which was added in API level 23 makes sense. But why is there another one (ActivityCompat.requestPermissions(...)) to be used for below Android 6.0?…
5
votes
2 answers

In Unit Tests how can I programmatically dismiss system permission dialog?

I have an unit test which calls methods on CNContactStore() e.g. CNContactStore().execute(saveRequest). So the permission dialog for contacts pops up, like the Push notifications alert but the contacts permission dialog doesn't get dismissed…
Dali
  • 437
  • 1
  • 6
  • 10
5
votes
0 answers

What does "Assistant handler on the device" mean in google play permissions policy?

My Android app uses SMS send and SMS receive permission, but i am unable to publish it on to the pay store because of the new Permissions Policies(My app is getting rejected) "It must be actively registered as the default SMS or Assistant handler on…
Murtuza
  • 67
  • 3
5
votes
2 answers

Xcode Build Issue - permission denied

I am using Xcode 10.1. Everytime I build my project I get this error: /Users/{username}/Library/Developer/Xcode/DerivedData/{random_name}/Build/Intermediates.noindex/.... line 2: /Users/{username}/path_to_app/Pods/Target Support Files/pod_name/...…
von v.
  • 16,868
  • 4
  • 60
  • 84
5
votes
1 answer

Restricting access to php scripts for limited access users

I have a php site which has multiple php scripts. I need to provide users from another site limited access into my system. I want to restrict what pages these ppl can access. I am doing this in the following manner: // $_SESSION['systemid'] is set…
siliconpi
  • 8,105
  • 18
  • 69
  • 107
5
votes
0 answers

ioctl() Operation not permitted

I am developing an app in C for Android. I want to add a new tun interface and use the file descriptor to access the device. The way I am doing it is the same as described here:…
pavshr
  • 51
  • 5
5
votes
1 answer

How to determine if you can write to a directory with SFTP because of your group?

Quoting How to determine if you can write to a file with SFTP because of your group? , You could do mode & 00002 to see if a [directory] is writable by the public and you could get a directory listing to and see if the owner of . matches the…
neubert
  • 15,947
  • 24
  • 120
  • 212
5
votes
1 answer

Sitecore active directory problem with permissions and roles-in-roles

Question I have written custom membership/role/profile providers to authenticate users against an Active Directory domain. I'm trying to use roles-in-roles to provide uers in the ADDOMAIN with sitecore permissions by adding their AD group as a…
Marko
  • 433
  • 6
  • 11
5
votes
1 answer

How give the application manifest permissions? How to do it programmatically on Android?

I used this Topic I try this code but did not work : PACKAGE_NAME = context.getApplicationContext().getPackageName(); try { pi = context.getPackageManager().getPackageInfo(PACKAGE_NAME, PackageManager.GET_PERMISSIONS); for (String perm :…
Sana Ebadi
  • 6,656
  • 2
  • 44
  • 44
5
votes
1 answer

Treesize can see folders and files it doesn't have access to

I have an issue with a program that I’m running on one of my work machines. Treesize pro is a program that will scan an area (C:\, \\nasdrive\home, etc.) and give you a tree-view as well as other information on the area. now I run this program on…
adam Wadsworth
  • 774
  • 1
  • 8
  • 26
5
votes
1 answer

Not enough permissions to access: GET /me

I'm working the linkedin API. After following the documentation, I 'm getting the access Token. Then, I'm trying to get the logged in user data, but I have this error : Not enough permissions to access: GET /me I'm using this URL :…
Projet Sin
  • 337
  • 8
  • 20
5
votes
1 answer

Using Web Deploy tool for IIS - works with administrator account but not IIS or Windows user account

I am struggling with the massive beast that seems to be WMSvc - Web Management service for IIS. I am trying to deploy web sites from Visual Studio which is killing me. Actually it's killing everyone except me on my team, but since I am designated…
Max
  • 4,345
  • 8
  • 38
  • 64
1 2 3
99
100