Commit graph

683 commits

Author SHA1 Message Date
Rohit Waghchaure
49bd552c5d fix: description of the permission types 2025-12-31 19:15:57 +05:30
rohitwaghchaure
d14aa77e51
Merge pull request #35522 from rohitwaghchaure/fixed-description-of-permission-types
fix: description for Permission Types in Role Permissions Manager
2025-12-30 15:14:48 +05:30
Rohit Waghchaure
8ac037e92b fix: description for Permission Types in Role Permissions Manager 2025-12-30 11:21:28 +05:30
sokumon
dd2dc053ca chore: more renames to /desk 2025-12-18 20:45:04 +05:30
Abdeali Chharchhodawala
d6c19e856d
refactor: proper msg for users with role (#35099)
* refactor: proper msg for users with role

* refactor: better UI for showing users with role

* refactor: filter with role name instead usernames

* chore: simplify user list display in permission manager
2025-12-18 18:45:01 +05:30
Saqib Ansari
8d46b17c71
fix: dashboard view margin (#35128) 2025-12-09 14:01:43 +05:30
Akhil Narang
5d992a5eb1
refactor: migrate a few queries to use query builder
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-11-19 21:15:57 +05:30
Saqib Ansari
50dd9f31c0 refactor: create same perm type for multiple doctypes 2025-11-03 17:48:57 +05:30
Saqib Ansari
1fb49d1ef3 feat: add label field 2025-10-30 18:53:33 +05:30
Saqib Ansari
f687f2a457 Merge branch 'develop' of https://github.com/frappe/frappe into custom-perm-types 2025-10-30 13:08:14 +05:30
Ejaaz Khan
590fe7e520
Merge branch 'develop' into 32489-role-perm-based-masking 2025-09-02 10:48:06 +05:30
Raffael Meyer
6aed5b91d3
feat!: remove the "Transaction Log" DocType and a related report (#33844) 2025-08-31 20:02:43 +02:00
Saqib Ansari
a3c84de51c feat: init Permission Type for custom permissions 2025-07-29 13:19:20 +05:30
Ejaaz Khan
a4fbe0160e feat: show mask data in form, list and report view 2025-05-27 13:16:27 +05:30
UmakanthKaspa
5fb5da6ea8 fix: remove child tables from Role Permission Manager dropdown 2025-05-15 07:53:37 +00:00
UmakanthKaspa
bf1e94dba0 fix: remove child tables from document dropdown 2025-05-03 03:53:05 +00:00
Ankush Menat
546260162d perf: Skip link checking on internal deletes
These are deletes that aren't user triggered and these documents are
typically never "linked" somewhere else. So skip all expensive link /
dynamic link checks.
2025-01-06 11:48:19 +05:30
Sumit Bhanushali
847dd62ec0 feat: permission log 2024-09-30 14:54:32 +05:30
Rushabh Mehta
02e84eaa34 fix(ui): body sidebar is responsive 2024-09-06 14:12:36 +05:30
ljain112
33ba43270c fix: correct permissions for user cannot create doctypes 2024-08-21 17:58:52 +05:30
Sumit Bhanushali
7e2da2be6c fix: precommit check 2024-07-13 11:39:16 +05:30
mahsem
2f55f2c788 fix: translation in permission_manager.js
fix: translation in permission_manager.js
2024-07-11 12:04:16 +00:00
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Shariq Ansari
d89cec362c fix: do not allow to set if_owner & report perm together 2024-01-29 16:46:42 +05:30
Jannat Patel
bdc495f5d1
fix: show right permission for user cannot create doctypes (#24027) 2023-12-29 11:54:03 +05:30
Hussain Nagaria
8d2137c265 docs: consistent doc strings 2023-12-18 18:27:39 +05:30
Ankush Menat
0381f836d6 fix: update correct role permission rule
Right now if you have if-owner rule on doctype then whatever you change
will only apply to last inserted rule because we don't check if-owner
value

Long term better fix: Identify with perm rule name instead of arbitrary
"primary keys" defined in code.
2023-09-18 13:45:20 +05:30
Ankush Menat
b484c65283 fix: check if owner while deleting permission
If doctype has 2 rules: 1 with if-owner and one without then deleting one deletes both.
2023-09-18 12:33:26 +05:30
HENRY Florian
cf63690a3c
feat: use Link field for search in Role Permissions Manager (#22232)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2023-09-15 15:13:02 +05:30
Ankush Menat
1b406edd54 feat: Desk User role 2023-08-28 22:31:23 +05:30
Ankush Menat
b2cc015f23
Merge pull request #21908 from GursheenK/virtual-doc-for-frappe-recorder
feat: virtual doctype for frappe recorder
2023-08-10 21:48:52 +05:30
Ankush Menat
de932b464f refactor: delete old recorder and rename new one 2023-08-10 12:23:41 +05:30
barredterra
88c8baa9ee refactor: for append to extend, merge list extend
Replace a for append loop with list extend.
Create the list with values instead of creating
an empty list and extending it with another list.
2023-08-09 13:25:39 +02:00
Ankush Menat
0e92fc9bf5 fix: Clear cache after role perm manager 2023-06-19 16:29:35 +05:30
mergify[bot]
133b3bce7d
fix: Cancel All and Dashboard views title translations (#20173) (#20175)
(cherry picked from commit 7253a10d07e7ad27f8b473af7e10fecd88080409)

Co-authored-by: gsi-joel <126265080+gsi-joel@users.noreply.github.com>
2023-02-28 11:41:13 +05:30
Ankush Menat
8446875257
refactor!: Remove "Set user permission" permtype (#20090)
This has never worked and setting user permission requires system
manager role always (because of permissions on list view)
2023-02-20 16:07:49 +05:30
Ankush Menat
b55bbd0a8c
fix(UX): Sort case-insensitive where it makes sense (#20088) 2023-02-20 13:07:32 +05:30
Raffael Meyer
09d35c74eb
fix: remove redundant translation (#18775) 2022-11-06 17:27:02 +05:30
Shariq Ansari
60d9335d38 refactor: Recorder code to vue3 2022-09-29 14:24:34 +05:30
Ankush Menat
fc048ae5e3 refactor!: remove background jobs page 2022-09-12 11:49:25 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Gavin D'souza
084a1e6c31 refactor: get_permissions
* Show page even if dangling Custom DocPerm records encountered
* Add typing hints
* Cleanup APIs
2022-06-27 15:18:06 +05:30
Suraj Shetty
5db7716df2
Merge pull request #17223 from frappe/rpm_typo 2022-06-16 16:20:27 +05:30
Michelle Alva
86f9465432
chore: typo 2022-06-16 16:16:00 +05:30
chillaranand
25f82e966c refactor: Remove unused imports & code 2022-05-19 15:34:35 +05:30
Faris Ansari
839eee7bd5 fix: current job was not shown in workers view
because of `if` conditions that should only be checked when view is Jobs
2022-04-16 08:04:07 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Faris Ansari
c7dbb61e55 fix: Refactor Background Jobs page
- Jobs/Worker view
- Filter by Queue Timeout and Job Status
- Toggle Auto Refresh
- Consistent theme
2022-03-31 16:35:54 +05:30
smehata
6cbede451d
fix(Permission Manager): Update client-side permission data (#15945)
On updating access from Permission Manager. Permissions are not updated till we do a hard refresh.
![Screenshot from 2022-02-11 12-32-52](https://user-images.githubusercontent.com/53169014/153550692-dc530eec-f44e-497d-9aca-8c10f1819cb0.png)
2022-02-16 04:42:35 +00:00