Questions tagged [user-permissions]

For questions regarding the appropriate use, settings, and enforcement of user permissions, typically for the purpose of either providing access to shared resources or restricting access to private resources.

Because permissions paradigms can change fairly drastically across operating systems and coding frameworks, setting appropriate permissions for users can be a daunting task that requires a great deal of knowledge about what kinds of access are both safe and necessary for a given task.

Restricting access too much can result in systems that are brittle and frustrating to users. Leaving permissions too open can lead to security and privacy issues. As such, finding the right balance for each application is paramount.

1163 questions
-1
votes
1 answer

How to make a permission system in symfony like the following?

I wanna build a simple permission system using symphony 4 that has the following properties: there are several possible roles for users (SUPER_ADMIN, ADMIN, USER,QUEST) SUPER_ADMIN users can grant view or edit&delete permissions for a given…
-1
votes
1 answer

Requesting permission for your app to close another (Android)

I have been digging deep into the using ActivityManager's killBackgroundProcesses function to have my Android application kill another running application, however as it is widely know, an application with a different UID than your own cannot simply…
-1
votes
1 answer

How do remove a Instagram permission from my website?

Instagram reviewed my page and everything was fine. Now my page is live and a lot users told me that they don't like that when they connect with their Instagram that we want permission to follow/unfollow. In easy words, I want that my Users don't…
-1
votes
2 answers

Project permission on Bitbucket

I am trying to put project level permission on my project for some git users on Bitbucket repository as.. also for the repository in the project i have used branch permissions as According to these permission user "Rahul" should not be able to…
-1
votes
3 answers

Changing application permission causes the oncreate() called again

I am working on run time permissions. When I am in my activity class while creating a report having images, when permission is changed app crashed and I lost my data.I have used OnsaveInstance but it does not do what I really want. I want to restart…
Basit Ali
  • 81
  • 10
-1
votes
1 answer

How the privileged commands are controlled?

How the Operating system prevents normal users from executing commands like fdisk and umount eventhough the commands have execute permissions for everyone ? [root@r7prd1 ~]# ls -la $(which umount) -rwsr-xr-x. 1 root root 31960 Aug 21 2015…
vajravelu
  • 53
  • 1
  • 8
-1
votes
1 answer

Implementation of filesystem (and) permissions

I am trying to understand the way the filesystem and the kernel are related, and how they work together, specifically regarding the permissions. (I know that, in fact, the filesystem is running in kernel space, but in this context I consider them…
-1
votes
1 answer

Which woocommerce plugin should i use for my need?

I have this client who has a subscription plan system. For example, with the premium pack you have access to 4 magazines + 1 video + 1 free magazine. So i have to set a limit of product to my cart per user role, and multiple rules per products. I…
Zac
  • 121
  • 2
  • 10
-1
votes
1 answer

Update sharepoint user profile inside an AD group

The context: A client environment: SharePoint Foundation 2010 He wants to have a timerjob to update users profiles with data in active directory. Everything OK, I developed the timerjob that gets a catalog from active directory & updates selected…
-1
votes
1 answer

converting json to associative array in laravel?

I want to send user permissions (sentry) to a blade page.user permission is a json object(as I know). it's controller code: $user = Sentry::findUserByID($id); $gr = Sentry::findGroupByName('admin'); $permissions = $gr->permissions; $per =…
cielo
  • 5
  • 1
  • 5
-1
votes
1 answer

Cannot execute owned file on Ubuntu 14.04 LTS

I have a file I need to execute as userme. The following command runs just fine: # sudo /usr/lib/squid3/squid_radius_auth -f /etc/squid3/radius-config However, when I run as userme, it gives the following error: # sudo -u userme…
gunwin
  • 4,578
  • 5
  • 37
  • 59
-1
votes
1 answer

Accidental change of ownership of some root directories in Ubuntu 14.04

(Accidental) Action Hi, I am not very well versed in Linux but using Ubuntu for more than a year. Couple of days back I accidentally changed the ownership of my root folder while changing ownership of another non-root directory. I am not sure but as…
Maax
  • 33
  • 1
  • 8
-1
votes
1 answer

Alternative method to get user likes?

I have a canvas application that implement with a like gate as most of other applications. Unlike tab page application, to check whether user liked a fanpage, it requires user_likes permission, but my submission on user_likes was rejected several…
Cwei
  • 13
  • 3
-1
votes
1 answer

Unix File permission during creation

How to create a file in UNIX or LINUX from user other than root with full permission.
imtiyaz283
  • 63
  • 1
  • 9
-1
votes
1 answer

Permission LIst of applications (Android)

I want a list of permission of the application installed in android , but as seen by other applications which offer privacy advisor , they have explained or grouped the permission. Also seen when installing a new application on the device. How can…
rolling.stones
  • 496
  • 3
  • 9
  • 20