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
-2
votes
1 answer

Setting Permission and switch

I am trying to create a setting page. In it, I would like to have several switches. The user will use them to manage the Permissions, for Camera, Micro and more. Here is the code I have written, but clearly something is wrong as it is not working…
Laurent Thomas
  • 232
  • 4
  • 24
-2
votes
1 answer

Linux/Raspberry pi user restricted to one directory

I am trying to set up a user for my raspberry pi which is restricted to one file. This means that on this file, the user has all permissions (rwx) but on all other files and directories he has not any permission, not even read. I need this because I…
Muleque
  • 71
  • 2
  • 12
-2
votes
3 answers

How to remove user_permissions from django admin panel

let me know how to remove the user_permission field from user and groups in a model as shown in below pic
-2
votes
1 answer

Django limit user view rights for model object

I have an app with multiple users from different companies. I need to restrict access such that certain users from certain companies can only see model objets relevant to their company. For e.g. when I display a drop-down in a template, I want the…
gmarais
  • 1,801
  • 4
  • 16
  • 32
-2
votes
1 answer

I broke something with usermod

Debian Buster, KDE-Plasma I'm a newbbie on Linux and Programming and I broke something installing Python 3.8 and I can't find a solution because I can;t really find what I did. I'm really interested on understand what's happenig, because I'd like to…
-2
votes
1 answer

Add User to Group 'Root' in Slackware

I have a user xyzong and I want it to grant root permission. How will I add her in a group 'Root' in Slackware 14.2? Slackware documentation is so rare, so please help. Thanks.
alyssaeliyah
  • 2,214
  • 6
  • 33
  • 80
-2
votes
1 answer

user from admins group can't launch app as administrator

i have user with same rights as administrator. This user is in administrator group. The problem is that i can start my program only with "run as administrator", so i can't simply run it after one click. How can user run program as administrator by…
Z.R.T.
  • 1,543
  • 12
  • 15
-2
votes
1 answer

How to show options according to user permission in PHP? Mysql

how to show options according to user permission in PHP? For example, that only administrators enter to "xx" menu. This is my table Permissions_users Table Permissions_users And this is my table users Table Users
-2
votes
1 answer

Allowing only a logged in user to run php script in Joomla

I recently installed joomla 3x with 'simple file upload' module. I modified the module php script so that a user can input variables such as $title, $artist, etc. within a form. The form post the variables to another php files (make-page.php) that…
Dan
  • 1
-2
votes
1 answer

Api facebook permissions

I have a problem with my web application. I need to get any permissions from the user, user_photos, publish_actions... To get this, I redirect the user to this…
Ebarroso
  • 17
  • 3
-2
votes
1 answer

user permission in open cart

I have downloaded the open cart point of sale module. I am able to install it in my application, but unable to open the module due to a user permission issue. I am logged in with super admin role, but still unable to use it. For which file and…
user1132265
  • 37
  • 1
  • 2
  • 9
-2
votes
1 answer

Perform CRUD database operation from ios app and limiting the permission only to few user accounts

Need help with a solution, i have to build a time table app and give access to only few users to be able to change and update time and i want to be able to trigger a remote notification to all app users for any changes in time table Any ideas on how…
IObses
  • 1
  • 1
-2
votes
1 answer

Linux Operation not permitted

After I accidentally used the command chown /var/www/moodle, I couldn’t change the root directory to be /var/www/moodle, so that I can't install phpmyadmin. I have looked some suggestions but not very useful, I guess the permission has now changed,…
user3395725
  • 31
  • 3
  • 10
-2
votes
1 answer

Php category permissions

I want to make a script that allows certain user to modify or delete a certain item. For example: Item 1 - can only be edited by user1; Item 2 - can only be edited by user2; All items - can be edited by admin
-2
votes
4 answers

Android SDcard Permissopn denied while writing a file?

In my application, while writing a file sdcard it shows Permission denied. But i give permission in sdcard. Please help? Writing file code: File sdcard = Environment.getExternalStorageDirectory(); File f = new File(sdcard, "/abc.txt"); …
info
  • 2,152
  • 5
  • 22
  • 38
1 2 3
77
78